Set xorriso's "modification time" to SOURCE_DATE_EPOCH
Thanks to Chris Lamb <lamby@debian.org> for the patch. Closes: #831379
This commit is contained in:
parent
4b28b409a6
commit
822459c7b2
|
@ -23,6 +23,8 @@ live-build (1:20160105) UNRELEASED; urgency=medium
|
|||
Thanks to Erik Cumps <erik.cumps@esaturnus.com> for the patch.
|
||||
* Export SOURCE_DATE_EPOCH when running chroot commands. Closes: #832998
|
||||
Thanks to Chris Lamb <lamby@debian.org> for the patch.
|
||||
* Set xorriso's "modification time" to SOURCE_DATE_EPOCH. Closes: #831379
|
||||
Thanks to Chris Lamb <lamby@debian.org> for the patch.
|
||||
|
||||
[ Kristian Klausen ]
|
||||
* Include ext{3,4} journal size when calculating image size. Closes: #801712
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue