Merge pull request #1783 from marineam/build-oems

Cleanup oem related ebuilds and build them automatically
This commit is contained in:
Michael Marineau 2016-02-23 12:25:47 -08:00
commit 39c82e531f
10 changed files with 40 additions and 24 deletions

View File

@ -1,10 +1,7 @@
#
# Copyright (c) 2014 CoreOS, Inc. All rights reserved. # Copyright (c) 2014 CoreOS, Inc. All rights reserved.
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
#
EAPI=5 EAPI=5
inherit toolchain-funcs systemd
DESCRIPTION="Google Daemon for Compute Engine" DESCRIPTION="Google Daemon for Compute Engine"
HOMEPAGE="https://github.com/GoogleCloudPlatform/compute-image-packages" HOMEPAGE="https://github.com/GoogleCloudPlatform/compute-image-packages"

View File

@ -1,10 +1,7 @@
#
# Copyright (c) 2014 CoreOS, Inc. All rights reserved. # Copyright (c) 2014 CoreOS, Inc. All rights reserved.
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
#
EAPI=5 EAPI=5
inherit toolchain-funcs systemd
DESCRIPTION="Google Startup Scripts for Compute Engine" DESCRIPTION="Google Startup Scripts for Compute Engine"
HOMEPAGE="https://github.com/GoogleCloudPlatform/compute-image-packages" HOMEPAGE="https://github.com/GoogleCloudPlatform/compute-image-packages"

View File

@ -0,0 +1 @@
DIST WALinuxAgent-2.0.14.tar.gz 95535 SHA256 e5a755cb2a6c4d4a1237bb97d15532031c8574d1078b44fbbf9f273ea5cdc14c SHA512 59b9b056479657626d2b6a9e3fa0dc8711c38d1efe1378ef1a63732744e68cc44321f0a761801c1a8a66fada24b277edfccc26c172a15bfcc53eed16e4d0d98a WHIRLPOOL 991a9b6bafbb74a7db7226ca764508a91438211500de9ecc128d1475077313b73bedd2f479dde7b4392ada0282db7c39c7b06ce76aa61cb3701c1c52607e81a6

View File

@ -1,21 +1,17 @@
#
# Copyright (c) 2014 CoreOS, Inc.. All rights reserved. # Copyright (c) 2014 CoreOS, Inc.. All rights reserved.
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
# $Header:$
#
EAPI=4 EAPI=5
EGIT_REPO_URI="git://github.com/Azure/WALinuxAgent" MY_PN="WALinuxAgent"
EGIT_COMMIT="54d4ebde1a626e6bd000abdfd518e150b0495f37" # WALinuxAgent-2.0.14 MY_PV="WALinuxAgent-${PV}"
EGIT_MASTER="2.0" MY_P="${MY_PN}-${MY_PV}"
S="${WORKDIR}/${MY_P}"
inherit eutils toolchain-funcs git-2
DESCRIPTION="Windows Azure Linux Agent" DESCRIPTION="Windows Azure Linux Agent"
HOMEPAGE="https://github.com/Azure/WALinuxAgent" HOMEPAGE="https://github.com/Azure/WALinuxAgent"
KEYWORDS="amd64" KEYWORDS="amd64"
SRC_URI="" SRC_URI="${HOMEPAGE}/archive/${MY_PV}.tar.gz"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"

View File

@ -0,0 +1 @@
DIST nova-agent-container-0.0.1.tar.gz 6634988 SHA256 ccaea8ea597111d5b89649e9fb03f6a9fdf8530e69c18c8af6e059d7ac20a029 SHA512 71468307ed8d87fafcaf44d1cb48b5499a42e9902a61d97d6ea191fed3e0e81cc8c3beb61839449f5ec87f54717801d2aa56df848bfa2b6602419360e3196005 WHIRLPOOL 0989323868fcf751c8aa4381130c0607cb19f8271c531018ee7bc12676b89e0f908f3999a7da6462c4654673eed822f427ed24d93da4e46d3ea0ddf7a8cc6eed

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
</pkgmetadata>

View File

@ -0,0 +1,18 @@
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
# Distributed under the terms of the GNU General Public License v2
EAPI=5
DESCRIPTION="nova agent for rackspace images"
HOMEPAGE="https://github.com/coreos/nova-agent-container"
SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
src_install() {
dodir /usr/share/oem/nova-agent
rsync -aq "${S}/" "${D}/usr/share/oem/nova-agent/" || die
}

View File

@ -6,7 +6,6 @@
# #
EAPI=5 EAPI=5
inherit git-2
DESCRIPTION="oem suite for rackspace images" DESCRIPTION="oem suite for rackspace images"
HOMEPAGE="" HOMEPAGE=""
@ -17,10 +16,8 @@ SLOT="0"
KEYWORDS="amd64 x86" KEYWORDS="amd64 x86"
IUSE="" IUSE=""
EGIT_REPO_URI="https://github.com/coreos/nova-agent-container.git"
EGIT_COMMIT="44af5608e9a9e43fe83d05f03049a1f66d564930"
RDEPEND=" RDEPEND="
coreos-base/nova-agent-container
coreos-base/nova-agent-watcher coreos-base/nova-agent-watcher
" "
@ -30,8 +27,6 @@ src_prepare() {
} }
src_install() { src_install() {
dodir /usr/share/oem/nova-agent
rsync --exclude=".git" -aq "${S}/" "${D}/usr/share/oem/nova-agent/" || die
insinto "/usr/share/oem" insinto "/usr/share/oem"
doins "${T}/cloud-config.yml" doins "${T}/cloud-config.yml"
doins "${FILESDIR}/grub.cfg" doins "${FILESDIR}/grub.cfg"

View File

@ -15,8 +15,15 @@ IUSE=""
DEPEND="" DEPEND=""
RDEPEND=" RDEPEND="
amd64? ( app-emulation/open-vm-tools ) amd64? (
app-emulation/google-compute-daemon
app-emulation/google-startup-scripts
app-emulation/open-vm-tools
app-emulation/wa-linux-agent
coreos-base/nova-agent-container
coreos-base/nova-agent-watcher
dev-lang/python-oem
)
coreos-base/coreos coreos-base/coreos
coreos-base/coreos-dev coreos-base/coreos-dev
dev-lang/python-oem
" "