mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-09 05:56: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,68 +7,69 @@ EGIT_REPO_URI="https://github.com/flatcar/update-ssh-keys.git"
|
|||||||
|
|
||||||
if [[ ${PV} == 9999 ]]; then
|
if [[ ${PV} == 9999 ]]; then
|
||||||
KEYWORDS="~amd64 ~arm64"
|
KEYWORDS="~amd64 ~arm64"
|
||||||
|
CRATES=""
|
||||||
else
|
else
|
||||||
EGIT_COMMIT="2a2aa89cd6eda6202de62b8870ca50945c836c54" # flatcar-master
|
EGIT_COMMIT="2a2aa89cd6eda6202de62b8870ca50945c836c54" # flatcar-master
|
||||||
KEYWORDS="amd64 arm64"
|
KEYWORDS="amd64 arm64"
|
||||||
fi
|
|
||||||
|
|
||||||
# generated by cargo ebuild
|
CRATES="
|
||||||
CRATES="
|
anstream@0.6.4
|
||||||
anstream@0.6.4
|
anstyle@1.0.4
|
||||||
anstyle@1.0.4
|
anstyle-parse@0.2.2
|
||||||
anstyle-parse@0.2.2
|
anstyle-query@1.0.0
|
||||||
anstyle-query@1.0.0
|
anstyle-wincon@3.0.1
|
||||||
anstyle-wincon@3.0.1
|
base64@0.21.5
|
||||||
base64@0.21.5
|
block-buffer@0.10.4
|
||||||
block-buffer@0.10.4
|
byteorder@1.5.0
|
||||||
byteorder@1.5.0
|
cfg-if@1.0.0
|
||||||
cfg-if@1.0.0
|
clap@4.4.6
|
||||||
clap@4.4.6
|
clap_builder@4.4.6
|
||||||
clap_builder@4.4.6
|
clap_lex@0.5.1
|
||||||
clap_lex@0.5.1
|
colorchoice@1.0.0
|
||||||
colorchoice@1.0.0
|
cpufeatures@0.2.10
|
||||||
cpufeatures@0.2.10
|
crypto-common@0.1.6
|
||||||
crypto-common@0.1.6
|
digest@0.10.7
|
||||||
digest@0.10.7
|
error-chain@0.12.4
|
||||||
error-chain@0.12.4
|
fs2@0.4.3
|
||||||
fs2@0.4.3
|
generic-array@0.14.7
|
||||||
generic-array@0.14.7
|
libc@0.2.149
|
||||||
libc@0.2.149
|
log@0.4.20
|
||||||
log@0.4.20
|
md-5@0.10.6
|
||||||
md-5@0.10.6
|
openssh-keys@0.6.2
|
||||||
openssh-keys@0.6.2
|
proc-macro2@1.0.69
|
||||||
proc-macro2@1.0.69
|
quote@1.0.33
|
||||||
quote@1.0.33
|
sha2@0.10.8
|
||||||
sha2@0.10.8
|
strsim@0.10.0
|
||||||
strsim@0.10.0
|
syn@2.0.38
|
||||||
syn@2.0.38
|
thiserror@1.0.50
|
||||||
thiserror@1.0.50
|
thiserror-impl@1.0.50
|
||||||
thiserror-impl@1.0.50
|
typenum@1.17.0
|
||||||
typenum@1.17.0
|
unicode-ident@1.0.12
|
||||||
unicode-ident@1.0.12
|
utf8parse@0.2.1
|
||||||
utf8parse@0.2.1
|
uzers@0.11.3
|
||||||
uzers@0.11.3
|
version_check@0.9.4
|
||||||
version_check@0.9.4
|
winapi@0.3.9
|
||||||
winapi@0.3.9
|
winapi-i686-pc-windows-gnu@0.4.0
|
||||||
winapi-i686-pc-windows-gnu@0.4.0
|
winapi-x86_64-pc-windows-gnu@0.4.0
|
||||||
winapi-x86_64-pc-windows-gnu@0.4.0
|
windows-sys@0.48.0
|
||||||
windows-sys@0.48.0
|
windows-targets@0.48.5
|
||||||
windows-targets@0.48.5
|
windows_aarch64_gnullvm@0.48.5
|
||||||
windows_aarch64_gnullvm@0.48.5
|
windows_aarch64_msvc@0.48.5
|
||||||
windows_aarch64_msvc@0.48.5
|
windows_i686_gnu@0.48.5
|
||||||
windows_i686_gnu@0.48.5
|
windows_i686_msvc@0.48.5
|
||||||
windows_i686_msvc@0.48.5
|
windows_x86_64_gnu@0.48.5
|
||||||
windows_x86_64_gnu@0.48.5
|
windows_x86_64_gnullvm@0.48.5
|
||||||
windows_x86_64_gnullvm@0.48.5
|
windows_x86_64_msvc@0.48.5
|
||||||
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
|
inherit cargo git-r3
|
||||||
|
|
||||||
DESCRIPTION="Utility for managing OpenSSH authorized public keys"
|
DESCRIPTION="Utility for managing OpenSSH authorized public keys"
|
||||||
HOMEPAGE="https://github.com/flatcar/update-ssh-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
|
SRC_URI+=" ${CARGO_CRATE_URIS}"
|
||||||
${CARGO_CRATE_URIS}"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
@ -79,5 +80,10 @@ RDEPEND="!<coreos-base/coreos-init-0.0.1-r152"
|
|||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
git-r3_src_unpack
|
git-r3_src_unpack
|
||||||
cargo_src_unpack
|
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
cargo_live_src_unpack
|
||||||
|
else
|
||||||
|
cargo_src_unpack
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user