summaryrefslogtreecommitdiff
path: root/scripts/build/binary_grub-efi
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/binary_grub-efi')
-rwxr-xr-xscripts/build/binary_grub-efi2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/build/binary_grub-efi b/scripts/build/binary_grub-efi
index 4510622d1..714a7dd50 100755
--- a/scripts/build/binary_grub-efi
+++ b/scripts/build/binary_grub-efi
@@ -234,6 +234,8 @@ search --set=root --file /.disk/info
set prefix=(\\\$root)/boot/grub
configfile (\\\$root)/boot/grub/grub.cfg
EOF
+# Set the timestamp within the efi.img file
+touch ${_CHROOT_DIR}/grub-efi-temp-cfg/grub.cfg -d@${SOURCE_DATE_EPOCH}
# The code below is adapted from tools/boot/jessie/boot-x86
# in debian-cd