mirror of
https://github.com/ipxe/ipxe
synced 2025-12-11 05:51:37 +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}" \
|
-publisher "ipxe.org" -sysid "iPXE" -o "${ISOIMG}" \
|
||||||
${ISOARGS} "${ISODIR}"
|
${ISOARGS} "${ISODIR}"
|
||||||
if isohybrid --version >/dev/null 2>&1 ; then
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user