mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-17 07:11:36 +01:00
coreos-base/nova-agent-watcher: Update for arm64
Add arm64 keywords and convert to coreos-go eclass. Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
parent
71f9fe1779
commit
cca31382df
@ -1,20 +1,20 @@
|
|||||||
# 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=4
|
EAPI=5
|
||||||
CROS_WORKON_PROJECT="coreos/nova-agent-watcher"
|
CROS_WORKON_PROJECT="coreos/nova-agent-watcher"
|
||||||
CROS_WORKON_LOCALNAME="nova-agent-watcher"
|
CROS_WORKON_LOCALNAME="nova-agent-watcher"
|
||||||
CROS_WORKON_REPO="git://github.com"
|
CROS_WORKON_REPO="git://github.com"
|
||||||
|
COREOS_GO_PACKAGE="github.com/coreos/nova-agent-watcher"
|
||||||
|
inherit cros-workon systemd coreos-go
|
||||||
|
|
||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64 ~arm64"
|
||||||
else
|
else
|
||||||
CROS_WORKON_COMMIT="2262401fe363cfdcc4c6f02144622466d506de43"
|
CROS_WORKON_COMMIT="2262401fe363cfdcc4c6f02144622466d506de43"
|
||||||
KEYWORDS="amd64"
|
KEYWORDS="amd64 arm64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
inherit cros-workon systemd
|
|
||||||
|
|
||||||
DESCRIPTION="nova-agent-watcher"
|
DESCRIPTION="nova-agent-watcher"
|
||||||
HOMEPAGE="https://github.com/coreos/nova-agent-watcher"
|
HOMEPAGE="https://github.com/coreos/nova-agent-watcher"
|
||||||
SRC_URI=""
|
SRC_URI=""
|
||||||
@ -23,14 +23,8 @@ LICENSE="Apache-2.0"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
DEPEND=">=dev-lang/go-1.2"
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
./build || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
into "/usr/share/oem"
|
into "/usr/share/oem"
|
||||||
dobin ${S}/scripts/gentoo-to-networkd
|
dobin ${S}/scripts/gentoo-to-networkd
|
||||||
dobin ${S}/bin/nova-agent-watcher
|
dobin ${GOBIN}/nova-agent-watcher
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user