From 52dab6e2683bd85c9a4fb44738353ca5e5d168db Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Thu, 1 Aug 2013 16:12:49 -0400 Subject: [PATCH] fix(coreos-base/oem-ami): Cleanup ebuild, bump to EAPI=5 Generally a good idea to use newer EAPIs that default to failing on errors. Uses the same S fix as oem-vagrant does. --- .../coreos-base/oem-ami/oem-ami-0.0.1.ebuild | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/oem-ami-0.0.1.ebuild b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/oem-ami-0.0.1.ebuild index 755299ea13..fc5e9057f0 100644 --- a/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/oem-ami-0.0.1.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/coreos-base/oem-ami/oem-ami-0.0.1.ebuild @@ -1,13 +1,9 @@ -# -# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. # Copyright (c) 2013 CoreOS, Inc.. All rights reserved. # Distributed under the terms of the GNU General Public License v2 -# $Header:$ -# -EAPI=2 +EAPI=5 -DESCRIPTION="oem suite for ami images" +DESCRIPTION="OEM suite for AMI images" HOMEPAGE="" SRC_URI="" @@ -16,6 +12,9 @@ SLOT="0" KEYWORDS="amd64 x86" IUSE="" +# no source directory +S="${WORKDIR}" + src_install() { dobin "${FILESDIR}"/install-ec2-key.sh