mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 21:46:58 +02:00
coreos-base/update-ssh-keys: Fix crate handling in 9999
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
d6a4dab482
commit
d36ff5fbe8
@ -7,12 +7,11 @@ EGIT_REPO_URI="https://github.com/flatcar/update-ssh-keys.git"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
CRATES=""
|
||||
else
|
||||
EGIT_COMMIT="2a2aa89cd6eda6202de62b8870ca50945c836c54" # flatcar-master
|
||||
KEYWORDS="amd64 arm64"
|
||||
fi
|
||||
|
||||
# generated by cargo ebuild
|
||||
CRATES="
|
||||
anstream@0.6.4
|
||||
anstyle@1.0.4
|
||||
@ -63,12 +62,14 @@ CRATES="
|
||||
windows_x86_64_msvc@0.48.5
|
||||
"
|
||||
|
||||
SRC_URI="https://mirror.release.flatcar-linux.net/coreos/openssh-keys-0.5.1-alpha.0.crate"
|
||||
fi
|
||||
|
||||
inherit cargo git-r3
|
||||
|
||||
DESCRIPTION="Utility for managing OpenSSH authorized public keys"
|
||||
HOMEPAGE="https://github.com/flatcar/update-ssh-keys"
|
||||
SRC_URI="https://mirror.release.flatcar-linux.net/coreos/openssh-keys-0.5.1-alpha.0.crate
|
||||
${CARGO_CRATE_URIS}"
|
||||
SRC_URI+=" ${CARGO_CRATE_URIS}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
@ -79,5 +80,10 @@ RDEPEND="!<coreos-base/coreos-init-0.0.1-r152"
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
cargo_live_src_unpack
|
||||
else
|
||||
cargo_src_unpack
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user