mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-07 10:22:12 +01:00
oem-rackspace: split nova agent container into new package
Makes the oem ebuild as small as possible. Also the new ebuild uses a tarball which simplifies dependencies and improves caching.
This commit is contained in:
parent
d618eeea26
commit
f87d2c4e3e
1
sdk_container/src/third_party/coreos-overlay/coreos-base/nova-agent-container/Manifest
vendored
Normal file
1
sdk_container/src/third_party/coreos-overlay/coreos-base/nova-agent-container/Manifest
vendored
Normal file
@ -0,0 +1 @@
|
||||
DIST nova-agent-container-0.0.1.tar.gz 6634988 SHA256 ccaea8ea597111d5b89649e9fb03f6a9fdf8530e69c18c8af6e059d7ac20a029 SHA512 71468307ed8d87fafcaf44d1cb48b5499a42e9902a61d97d6ea191fed3e0e81cc8c3beb61839449f5ec87f54717801d2aa56df848bfa2b6602419360e3196005 WHIRLPOOL 0989323868fcf751c8aa4381130c0607cb19f8271c531018ee7bc12676b89e0f908f3999a7da6462c4654673eed822f427ed24d93da4e46d3ea0ddf7a8cc6eed
|
||||
4
sdk_container/src/third_party/coreos-overlay/coreos-base/nova-agent-container/metadata.xml
vendored
Normal file
4
sdk_container/src/third_party/coreos-overlay/coreos-base/nova-agent-container/metadata.xml
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
</pkgmetadata>
|
||||
@ -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
|
||||
}
|
||||
@ -6,7 +6,6 @@
|
||||
#
|
||||
|
||||
EAPI=5
|
||||
inherit git-2
|
||||
|
||||
DESCRIPTION="oem suite for rackspace images"
|
||||
HOMEPAGE=""
|
||||
@ -17,10 +16,8 @@ SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
EGIT_REPO_URI="https://github.com/coreos/nova-agent-container.git"
|
||||
EGIT_COMMIT="44af5608e9a9e43fe83d05f03049a1f66d564930"
|
||||
|
||||
RDEPEND="
|
||||
coreos-base/nova-agent-container
|
||||
coreos-base/nova-agent-watcher
|
||||
"
|
||||
|
||||
@ -30,8 +27,6 @@ src_prepare() {
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/oem/nova-agent
|
||||
rsync --exclude=".git" -aq "${S}/" "${D}/usr/share/oem/nova-agent/" || die
|
||||
insinto "/usr/share/oem"
|
||||
doins "${T}/cloud-config.yml"
|
||||
doins "${FILESDIR}/grub.cfg"
|
||||
Loading…
x
Reference in New Issue
Block a user