diff options
| author | Oleh Matiusha <omatiush@cisco.com> | 2024-03-27 17:14:34 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-04-04 14:05:03 +0100 |
| commit | cabeed4e6d31fd798ab9dac0313b88a35d1d904d (patch) | |
| tree | 85ea18401d8603a3569d62db6603317e385cf7c3 | |
| parent | e96918f49ece07370cb5b46f5b98d456b6fc1d56 (diff) | |
| download | poky-cabeed4e6d31fd798ab9dac0313b88a35d1d904d.tar.gz | |
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>
| -rw-r--r-- | meta/recipes-support/curl/curl_8.6.0.bb | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/meta/recipes-support/curl/curl_8.6.0.bb b/meta/recipes-support/curl/curl_8.6.0.bb index ea69164d76..49ba0cb4a7 100644 --- a/meta/recipes-support/curl/curl_8.6.0.bb +++ b/meta/recipes-support/curl/curl_8.6.0.bb | |||
| @@ -79,7 +79,7 @@ EXTRA_OECONF = " \ | |||
| 79 | ${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls openssl', d) == '') else ''} \ | 79 | ${@'--without-ssl' if (bb.utils.filter('PACKAGECONFIG', 'gnutls mbedtls openssl', d) == '') else ''} \ |
| 80 | " | 80 | " |
| 81 | 81 | ||
| 82 | do_install:append:class-target() { | 82 | fix_absolute_paths () { |
| 83 | # cleanup buildpaths from curl-config | 83 | # cleanup buildpaths from curl-config |
| 84 | sed -i \ | 84 | sed -i \ |
| 85 | -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ | 85 | -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \ |
| @@ -89,6 +89,14 @@ do_install:append:class-target() { | |||
| 89 | ${D}${bindir}/curl-config | 89 | ${D}${bindir}/curl-config |
| 90 | } | 90 | } |
| 91 | 91 | ||
| 92 | do_install:append:class-target() { | ||
| 93 | fix_absolute_paths | ||
| 94 | } | ||
| 95 | |||
| 96 | do_install:append:class-nativesdk() { | ||
| 97 | fix_absolute_paths | ||
| 98 | } | ||
| 99 | |||
| 92 | do_compile_ptest() { | 100 | do_compile_ptest() { |
| 93 | oe_runmake -C ${B}/tests | 101 | oe_runmake -C ${B}/tests |
| 94 | } | 102 | } |
