diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/binary_iso | 3 | ||||
-rwxr-xr-x | scripts/build/source_iso | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/scripts/build/binary_iso b/scripts/build/binary_iso index d4a872eb2..2b381622a 100755 --- a/scripts/build/binary_iso +++ b/scripts/build/binary_iso @@ -107,6 +107,9 @@ then XORRISO_OPTIONS="${XORRISO_OPTIONS} -V \"${LB_ISO_VOLUME}\"" fi +# Set an explicit modification date +XORRISO_OPTIONS="${XORRISO_OPTIONS} --modification-date=$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d%H%m%S00)" + OLDIFS="$IFS" IFS="," BOOTLOADER_NUMBER=0 diff --git a/scripts/build/source_iso b/scripts/build/source_iso index 0a8848d53..c280d30be 100755 --- a/scripts/build/source_iso +++ b/scripts/build/source_iso @@ -98,6 +98,9 @@ then XORRISO_OPTIONS="${XORRISO_OPTIONS} -V \"${LB_ISO_VOLUME}\"" fi +# Set an explicit modification date +XORRISO_OPTIONS="${XORRISO_OPTIONS} --modification-date=$(date --utc --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m%d%H%m%S00)" + # Moving image mv source chroot |