mirror of
https://github.com/ipxe/ipxe
synced 2025-12-09 02:40:27 +03:00
[build] Use SOURCE_DATE_EPOCH for isohybrid MBR ID if it exists
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -307,7 +307,11 @@ if [ -n "${ISOIMG}" ] ; then
|
||||
-publisher "ipxe.org" -sysid "iPXE" -o "${ISOIMG}" \
|
||||
${ISOARGS} "${ISODIR}"
|
||||
if isohybrid --version >/dev/null 2>&1 ; then
|
||||
isohybrid "${ISOIMG}"
|
||||
ISOHYBRIDARGS=
|
||||
if [ -n "${SOURCE_DATE_EPOCH:-}" ] ; then
|
||||
ISOHYBRIDARGS="${ISOHYBRIDARGS} --id ${SOURCE_DATE_EPOCH}"
|
||||
fi
|
||||
isohybrid ${ISOHYBRIDARGS} "${ISOIMG}"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user