mirror of https://github.com/ipxe/ipxe.git
[build] Use SOURCE_DATE_EPOCH for isohybrid MBR ID if it exists
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/373/head
parent
0d68d71519
commit
74c54461cb
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue