Module Name: src
Committed By: christos
Date: Thu Mar 14 15:41:54 UTC 2024
Modified Files:
src/distrib/utils/embedded/conf: armv7.conf
Log Message:
Fix reproducible build (Jan-Benedict Glaw)
To generate a diff of this commit:
cvs rdiff -u -r1.46 -r1.47 src/distrib/utils/embedded/conf/armv7.conf
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/utils/embedded/conf/armv7.conf
diff -u src/distrib/utils/embedded/conf/armv7.conf:1.46 src/distrib/utils/embedded/conf/armv7.conf:1.47
--- src/distrib/utils/embedded/conf/armv7.conf:1.46 Wed Apr 19 14:39:18 2023
+++ src/distrib/utils/embedded/conf/armv7.conf Thu Mar 14 11:41:54 2024
@@ -1,4 +1,4 @@
-# $NetBSD: armv7.conf,v 1.46 2023/04/19 18:39:18 brook Exp $
+# $NetBSD: armv7.conf,v 1.47 2024/03/14 15:41:54 christos Exp $
# ARMv7 customization script used by mkimage
#
board=armv7
@@ -45,7 +45,11 @@ populate_common() {
fi
# Install boot script
- "${MKUBOOTIMAGE}" -A arm -C none -O netbsd -T script -a 0 -n "NetBSD/armv7 boot" "${mnt}/boot/boot.cmd" "${mnt}/boot/boot.scr"
+ [ -n "${MKREPRO_TIMESTAMP}" ] && \
+ MKUBOOTIMAGEARGS="-t ${MKREPRO_TIMESTAMP}"
+ "${MKUBOOTIMAGE}" -A arm -C none -O netbsd -T script \
+ ${MKUBOOTIMAGEARGS} -a 0 -n "NetBSD/armv7 boot" \
+ "${mnt}/boot/boot.cmd" "${mnt}/boot/boot.scr"
}
populate_rpi() {