diff options
author | Roland Clobus <rclobus@rclobus.nl> | 2020-12-13 18:33:54 +0100 |
---|---|---|
committer | Luca Boccassi <bluca@debian.org> | 2020-12-13 20:33:24 +0000 |
commit | 3f7dd00fcb83177e679e9f1449200dee11dc1531 (patch) | |
tree | 5efd3fb65a1735d5476f9b838d14f3748a9e3a23 /scripts/build/source_iso | |
parent | fac389a51bbca45b2c240a483cc55a2d2a9e8200 (diff) | |
download | vyos-live-build-3f7dd00fcb83177e679e9f1449200dee11dc1531.tar.gz vyos-live-build-3f7dd00fcb83177e679e9f1449200dee11dc1531.zip |
Delay resolving the timestamp for the ISO volume to the moment the ISO-image is created
Diffstat (limited to 'scripts/build/source_iso')
-rwxr-xr-x | scripts/build/source_iso | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/source_iso b/scripts/build/source_iso index 06de879ec..c5aa66bb5 100755 --- a/scripts/build/source_iso +++ b/scripts/build/source_iso @@ -90,6 +90,7 @@ fi if [ -n "${LB_ISO_VOLUME}" ] && [ "${LB_ISO_VOLUME}" != "none" ] then + LB_ISO_VOLUME="$(echo "${LB_ISO_VOLUME}" | sed "s|@ISOVOLUME_TS@|$(date $DATE_UTC_OPTION +%Y%m%d-%H:%M --date @${SOURCE_DATE_EPOCH:-$(date +%s)})|")" XORRISO_OPTIONS="${XORRISO_OPTIONS} -V \"${LB_ISO_VOLUME}\"" fi |