Commit 3446c9f5 authored by Chris Lamb's avatar Chris Lamb
Browse files

Ensure that syslinux templates (eg. f1.txt) use a reproducible timestamp.


Signed-off-by: default avatarChris Lamb <lamby@debian.org>
parent 8eeac732
......@@ -256,7 +256,7 @@ case "${LB_BINARY_IMAGES}" in
sed -i -e "s|LB_BOOTAPPEND_INSTALL|${LB_BOOTAPPEND_INSTALL}|" \
-e "s|LB_BOOTAPPEND_LIVE|${LB_BOOTAPPEND_LIVE}|" \
binary/boot/silo.conf
sed -i -e "s|LB_DATE|$(date +%Y%m%d)|" \
sed -i -e "s|LB_DATE|$(Date +%Y%m%d)|" \
-e "s|LB_VERSION|${VERSION}|" \
-e "s|LB_DISTRIBUTION|${LB_DISTRIBUTION}|" \
binary/boot/debian.txt
......
......@@ -301,7 +301,7 @@ case "${LB_BINARY_IMAGES}" in
# Configure yaboot templates
sed -i -e "s|LINUX_LIVE|${LINUX_LIVE}|" -e "s|LINUX_INSTALL|${LINUX_INSTALL}|" binary/yaboot/yaboot.conf
sed -i -e "s|LB_BOOTAPPEND_INSTALL|${LB_BOOTAPPEND_INSTALL}|" -e "s|LB_BOOTAPPEND_LIVE|${LB_BOOTAPPEND_LIVE}|" binary/yaboot/yaboot.conf
sed -i -e "s|LB_DATE|$(date +%Y%m%d)|" -e "s|LB_VERSION|${VERSION}|" binary/yaboot/boot.msg
sed -i -e "s|LB_DATE|$(Date +%Y%m%d)|" -e "s|LB_VERSION|${VERSION}|" binary/yaboot/boot.msg
;;
esac
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment