diff options
-rw-r--r-- | meta/classes/image.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 8ef06c0fb0..2e880242d7 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
@@ -651,7 +651,7 @@ POPULATE_SDK_PRE_TARGET_COMMAND += "${@bb.utils.contains('DISTRO_FEATURES', 'usr | |||
651 | reproducible_final_image_task () { | 651 | reproducible_final_image_task () { |
652 | if [ "${BUILD_REPRODUCIBLE_BINARIES}" = "1" ]; then | 652 | if [ "${BUILD_REPRODUCIBLE_BINARIES}" = "1" ]; then |
653 | if [ "$REPRODUCIBLE_TIMESTAMP_ROOTFS" = "" ]; then | 653 | if [ "$REPRODUCIBLE_TIMESTAMP_ROOTFS" = "" ]; then |
654 | REPRODUCIBLE_TIMESTAMP_ROOTFS=`git log -1 --pretty=%ct` | 654 | REPRODUCIBLE_TIMESTAMP_ROOTFS=`git -C "${COREBASE}" log -1 --pretty=%ct` |
655 | fi | 655 | fi |
656 | # Set mtime of all files to a reproducible value | 656 | # Set mtime of all files to a reproducible value |
657 | bbnote "reproducible_final_image_task: mtime set to $REPRODUCIBLE_TIMESTAMP_ROOTFS" | 657 | bbnote "reproducible_final_image_task: mtime set to $REPRODUCIBLE_TIMESTAMP_ROOTFS" |