mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 14:31:02 +02:00
app-admin/mayday: 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
339a91cdab
commit
fe996a59d8
@ -12,10 +12,10 @@ COREOS_GO_PACKAGE="github.com/coreos/mayday"
|
|||||||
inherit coreos-go cros-workon
|
inherit coreos-go cros-workon
|
||||||
|
|
||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64 ~arm64"
|
||||||
else
|
else
|
||||||
CROS_WORKON_COMMIT="eaff09119f3a5b911908e4d3200272034466fe5d" # v0.1.0
|
CROS_WORKON_COMMIT="eaff09119f3a5b911908e4d3200272034466fe5d" # v0.1.0
|
||||||
KEYWORDS="amd64"
|
KEYWORDS="amd64 arm64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DESCRIPTION="mayday"
|
DESCRIPTION="mayday"
|
||||||
@ -26,13 +26,11 @@ LICENSE="Apache-2.0"
|
|||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
DEPEND=">=dev-lang/go-1.2"
|
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
go_build "${COREOS_GO_PACKAGE}/cmd"
|
go_build "${COREOS_GO_PACKAGE}/cmd"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
newbin ${WORKDIR}/gopath/bin/cmd mayday
|
newbin ${GOBIN}/cmd mayday
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user