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,13 +7,12 @@ EGIT_REPO_URI="https://github.com/coreos/afterburn.git"
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
CRATES=""
|
||||
else
|
||||
EGIT_COMMIT="aa1be7dba724403457dee0fabed16e15be3ef4e0" # v5.6.0
|
||||
KEYWORDS="amd64 arm64"
|
||||
fi
|
||||
|
||||
# https://github.com/gentoo/cargo-ebuild
|
||||
CRATES="
|
||||
CRATES="
|
||||
addr2line@0.22.0
|
||||
adler@1.0.2
|
||||
adler32@1.2.0
|
||||
@ -345,7 +344,8 @@ CRATES="
|
||||
zvariant@3.15.2
|
||||
zvariant_derive@3.15.2
|
||||
zvariant_utils@1.0.1
|
||||
"
|
||||
"
|
||||
fi
|
||||
|
||||
inherit cargo git-r3 systemd
|
||||
|
||||
@ -371,16 +371,12 @@ PATCHES=(
|
||||
|
||||
src_unpack() {
|
||||
git-r3_src_unpack
|
||||
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
cargo_live_src_unpack
|
||||
else
|
||||
cargo_src_unpack
|
||||
}
|
||||
|
||||
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/
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user