mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 13:09:50 +00:00
curl: improve reproducibility
nativesdk-curl package contains host references in output files. remove them. (From OE-Core rev: 30f4471ddced07929524b12ee5567521d51de033) Signed-off-by: Oleh Matiusha <omatiush@cisco.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
e96918f49e
commit
cabeed4e6d
@@ -79,7 +79,7 @@ EXTRA_OECONF = " \
|
|||||||
${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls openssl', d) == '') else ''} \
|
${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls openssl', d) == '') else ''} \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_install:append:class-target() {
|
fix_absolute_paths () {
|
||||||
# cleanup buildpaths from curl-config
|
# cleanup buildpaths from curl-config
|
||||||
sed -i \
|
sed -i \
|
||||||
-e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
|
-e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
|
||||||
@@ -89,6 +89,14 @@ do_install:append:class-target() {
|
|||||||
${D}${bindir}/curl-config
|
${D}${bindir}/curl-config
|
||||||
}
|
}
|
||||||
|
|
||||||
|
do_install:append:class-target() {
|
||||||
|
fix_absolute_paths
|
||||||
|
}
|
||||||
|
|
||||||
|
do_install:append:class-nativesdk() {
|
||||||
|
fix_absolute_paths
|
||||||
|
}
|
||||||
|
|
||||||
do_compile_ptest() {
|
do_compile_ptest() {
|
||||||
oe_runmake -C ${B}/tests
|
oe_runmake -C ${B}/tests
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user