mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 22:21:10 +02:00
coreos-base/afterburn: Fix crate handling in 9999
Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
12ce55a392
commit
3350770afe
@ -7,12 +7,11 @@ EGIT_REPO_URI="https://github.com/coreos/afterburn.git"
|
|||||||
|
|
||||||
if [[ ${PV} == 9999 ]]; then
|
if [[ ${PV} == 9999 ]]; then
|
||||||
KEYWORDS="~amd64 ~arm64"
|
KEYWORDS="~amd64 ~arm64"
|
||||||
|
CRATES=""
|
||||||
else
|
else
|
||||||
EGIT_COMMIT="aa1be7dba724403457dee0fabed16e15be3ef4e0" # v5.6.0
|
EGIT_COMMIT="aa1be7dba724403457dee0fabed16e15be3ef4e0" # v5.6.0
|
||||||
KEYWORDS="amd64 arm64"
|
KEYWORDS="amd64 arm64"
|
||||||
fi
|
|
||||||
|
|
||||||
# https://github.com/gentoo/cargo-ebuild
|
|
||||||
CRATES="
|
CRATES="
|
||||||
addr2line@0.22.0
|
addr2line@0.22.0
|
||||||
adler@1.0.2
|
adler@1.0.2
|
||||||
@ -346,6 +345,7 @@ CRATES="
|
|||||||
zvariant_derive@3.15.2
|
zvariant_derive@3.15.2
|
||||||
zvariant_utils@1.0.1
|
zvariant_utils@1.0.1
|
||||||
"
|
"
|
||||||
|
fi
|
||||||
|
|
||||||
inherit cargo git-r3 systemd
|
inherit cargo git-r3 systemd
|
||||||
|
|
||||||
@ -371,16 +371,12 @@ PATCHES=(
|
|||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
git-r3_src_unpack
|
git-r3_src_unpack
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]]; then
|
||||||
|
cargo_live_src_unpack
|
||||||
|
else
|
||||||
cargo_src_unpack
|
cargo_src_unpack
|
||||||
}
|
fi
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# tell the rust-openssl bindings where the openssl library and include dirs are
|
|
||||||
export PKG_CONFIG_ALLOW_CROSS=1
|
|
||||||
export OPENSSL_LIB_DIR=/usr/lib64/
|
|
||||||
export OPENSSL_INCLUDE_DIR=/usr/include/openssl/
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user