diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-14 12:58:40 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-16 17:41:59 +0100 |
commit | 20f6477b6323c723f856c5c29358a04029af7493 (patch) | |
tree | f214bc3be31392aa459787a01fc7d87607b9a4c6 /meta/classes/image-prelink.bbclass | |
parent | 0dc5920862dd692905347104927f7cf0b7d61376 (diff) | |
download | poky-20f6477b6323c723f856c5c29358a04029af7493.tar.gz |
reproducible: Drop BUILD_REPRODUCIBLE_BINARIES variable
We want things to be reproduicble and the variable doesn't really change
much any more. Drop the remaining uses and make those code paths always
active.
(From OE-Core rev: d15fb02c7ee7da50e322d74bc6a545234e20c7f3)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image-prelink.bbclass')
-rw-r--r-- | meta/classes/image-prelink.bbclass | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/meta/classes/image-prelink.bbclass b/meta/classes/image-prelink.bbclass index 0da094a551..8158eeaf4c 100644 --- a/meta/classes/image-prelink.bbclass +++ b/meta/classes/image-prelink.bbclass | |||
@@ -46,17 +46,12 @@ prelink_image () { | |||
46 | dynamic_loader=${@get_linuxloader(d)} | 46 | dynamic_loader=${@get_linuxloader(d)} |
47 | 47 | ||
48 | # prelink! | 48 | # prelink! |
49 | if [ "${BUILD_REPRODUCIBLE_BINARIES}" = "1" ]; then | 49 | if [ "$REPRODUCIBLE_TIMESTAMP_ROOTFS" = "" ]; then |
50 | bbnote " prelink: BUILD_REPRODUCIBLE_BINARIES..." | 50 | export PRELINK_TIMESTAMP=`git log -1 --pretty=%ct ` |
51 | if [ "$REPRODUCIBLE_TIMESTAMP_ROOTFS" = "" ]; then | ||
52 | export PRELINK_TIMESTAMP=`git log -1 --pretty=%ct ` | ||
53 | else | ||
54 | export PRELINK_TIMESTAMP=$REPRODUCIBLE_TIMESTAMP_ROOTFS | ||
55 | fi | ||
56 | ${STAGING_SBINDIR_NATIVE}/prelink --root ${IMAGE_ROOTFS} -am -N -c ${sysconfdir}/prelink.conf --dynamic-linker $dynamic_loader | ||
57 | else | 51 | else |
58 | ${STAGING_SBINDIR_NATIVE}/prelink --root ${IMAGE_ROOTFS} -amR -N -c ${sysconfdir}/prelink.conf --dynamic-linker $dynamic_loader | 52 | export PRELINK_TIMESTAMP=$REPRODUCIBLE_TIMESTAMP_ROOTFS |
59 | fi | 53 | fi |
54 | ${STAGING_SBINDIR_NATIVE}/prelink --root ${IMAGE_ROOTFS} -am -N -c ${sysconfdir}/prelink.conf --dynamic-linker $dynamic_loader | ||
60 | 55 | ||
61 | # Remove the prelink.conf if we had to add it. | 56 | # Remove the prelink.conf if we had to add it. |
62 | if [ "$dummy_prelink_conf" = "true" ]; then | 57 | if [ "$dummy_prelink_conf" = "true" ]; then |