diff options
author | Roland Clobus <rclobus@rclobus.nl> | 2020-10-04 13:51:14 +0200 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2021-01-15 09:22:29 +0000 |
commit | 760684b1e2586a72230e0426489dffd24138c3fd (patch) | |
tree | dc806969667b9629ddfcf1a0f24569df58188c59 | |
parent | 9712c46cff4c9fcd998cd5e0ab36f3eaea63cd87 (diff) | |
download | vyos-live-build-760684b1e2586a72230e0426489dffd24138c3fd.tar.gz vyos-live-build-760684b1e2586a72230e0426489dffd24138c3fd.zip |
Use SOURCE_DATE_EPOCH for the partition-id of /efi.img
-rwxr-xr-x | scripts/build/efi-image | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/efi-image b/scripts/build/efi-image index a1d3ccfbc..381ea24fb 100755 --- a/scripts/build/efi-image +++ b/scripts/build/efi-image @@ -75,7 +75,7 @@ grub-mkimage -O "$platform" \ # headroom seems to be enough; (x+31)/32*32 rounds up to multiple of 32. mkfs.msdos -C "$outdir/efi.img" \ $(( ($(stat -c %s "$workdir/boot$efi_name.efi") / 1024 + 55) \ - / 32 * 32 )) + / 32 * 32 )) -i ${SOURCE_DATE_EPOCH} mmd -i "$outdir/efi.img" ::efi mmd -i "$outdir/efi.img" ::efi/boot mcopy -m -i "$outdir/efi.img" "$workdir/boot$efi_name.efi" \ |