mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-20 05:51:18 +02:00
coreos-base/coreos-metadata: Drop CoreOS board handling for Rust
Since amd64 is the only supported board now, we can make use of EAPI 7 and the host Rust compiler to drop our customizations.
This commit is contained in:
parent
20bbdbfa49
commit
7cb0f72cce
@ -1,7 +1,7 @@
|
|||||||
# Copyright (c) 2017 CoreOS, Inc.. All rights reserved.
|
# Copyright (c) 2017 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=6
|
EAPI=7
|
||||||
|
|
||||||
CROS_WORKON_PROJECT="coreos/coreos-metadata"
|
CROS_WORKON_PROJECT="coreos/coreos-metadata"
|
||||||
CROS_WORKON_LOCALNAME="coreos-metadata"
|
CROS_WORKON_LOCALNAME="coreos-metadata"
|
||||||
@ -14,7 +14,7 @@ else
|
|||||||
KEYWORDS="amd64 arm64"
|
KEYWORDS="amd64 arm64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
inherit coreos-cargo cros-workon systemd
|
inherit cargo cros-workon systemd
|
||||||
|
|
||||||
DESCRIPTION="A tool for collecting instance metadata from various providers"
|
DESCRIPTION="A tool for collecting instance metadata from various providers"
|
||||||
HOMEPAGE="https://github.com/coreos/coreos-metadata"
|
HOMEPAGE="https://github.com/coreos/coreos-metadata"
|
||||||
@ -203,7 +203,7 @@ SRC_URI="$(cargo_crate_uris ${CRATES})"
|
|||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
cros-workon_src_unpack "$@"
|
cros-workon_src_unpack "$@"
|
||||||
coreos-cargo_src_unpack "$@"
|
cargo_src_unpack "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
src_prepare() {
|
src_prepare() {
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user