mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-07 18:31:54 +01:00
sys-apps/ignition: Update for arm64
Cleanup coreos-go eclass and add arm64 keywords. Signed-off-by: Geoff Levand <geoff@infradead.org>
This commit is contained in:
parent
33ba81838e
commit
641316b695
@ -7,7 +7,7 @@ CROS_WORKON_LOCALNAME="ignition"
|
|||||||
CROS_WORKON_REPO="git://github.com"
|
CROS_WORKON_REPO="git://github.com"
|
||||||
COREOS_GO_PACKAGE="github.com/coreos/ignition"
|
COREOS_GO_PACKAGE="github.com/coreos/ignition"
|
||||||
|
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64 arm64"
|
||||||
|
|
||||||
inherit coreos-doc coreos-go cros-workon systemd
|
inherit coreos-doc coreos-go cros-workon systemd
|
||||||
|
|
||||||
@ -19,15 +19,12 @@ LICENSE="Apache-2.0"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
DEPEND=">=dev-lang/go-1.2"
|
|
||||||
RDEPEND=""
|
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
go_build "${COREOS_GO_PACKAGE}"
|
go_build "${COREOS_GO_PACKAGE}/src"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dobin "${S}/bin/${PN}"
|
dobin ${GOBIN}/*
|
||||||
|
|
||||||
systemd_dounit "${FILESDIR}"/coreos-metadata.target
|
systemd_dounit "${FILESDIR}"/coreos-metadata.target
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user