mirror of
https://git.yoctoproject.org/poky
synced 2026-09-20 03:49:32 +02:00
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>
This commit is contained in:
@@ -46,17 +46,12 @@ prelink_image () {
|
||||
dynamic_loader=${@get_linuxloader(d)}
|
||||
|
||||
# prelink!
|
||||
if [ "${BUILD_REPRODUCIBLE_BINARIES}" = "1" ]; then
|
||||
bbnote " prelink: BUILD_REPRODUCIBLE_BINARIES..."
|
||||
if [ "$REPRODUCIBLE_TIMESTAMP_ROOTFS" = "" ]; then
|
||||
export PRELINK_TIMESTAMP=`git log -1 --pretty=%ct `
|
||||
else
|
||||
export PRELINK_TIMESTAMP=$REPRODUCIBLE_TIMESTAMP_ROOTFS
|
||||
fi
|
||||
${STAGING_SBINDIR_NATIVE}/prelink --root ${IMAGE_ROOTFS} -am -N -c ${sysconfdir}/prelink.conf --dynamic-linker $dynamic_loader
|
||||
if [ "$REPRODUCIBLE_TIMESTAMP_ROOTFS" = "" ]; then
|
||||
export PRELINK_TIMESTAMP=`git log -1 --pretty=%ct `
|
||||
else
|
||||
${STAGING_SBINDIR_NATIVE}/prelink --root ${IMAGE_ROOTFS} -amR -N -c ${sysconfdir}/prelink.conf --dynamic-linker $dynamic_loader
|
||||
export PRELINK_TIMESTAMP=$REPRODUCIBLE_TIMESTAMP_ROOTFS
|
||||
fi
|
||||
${STAGING_SBINDIR_NATIVE}/prelink --root ${IMAGE_ROOTFS} -am -N -c ${sysconfdir}/prelink.conf --dynamic-linker $dynamic_loader
|
||||
|
||||
# Remove the prelink.conf if we had to add it.
|
||||
if [ "$dummy_prelink_conf" = "true" ]; then
|
||||
|
||||
Reference in New Issue
Block a user