Use MKREPRO_TIMESTAMP

This commit is contained in:
christos 2015-12-20 22:42:04 +00:00
parent f8250039db
commit d038424332
1 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.bootcd,v 1.33 2015/11/25 00:50:57 christos Exp $
# $NetBSD: Makefile.bootcd,v 1.34 2015/12/20 22:42:04 christos Exp $
#
# Makefile snipped to create a CD/DVD ISO
#
@ -74,8 +74,8 @@ _CDMAKEFSOPTIONS= rockridge,label=${ISO_VOLID},publisher=${PUBLISHER},${CDMAKEFS
_CDMAKEFSOPTIONS= rockridge,label=${ISO_VOLID},publisher=${PUBLISHER}
.endif
.if ${MKREPRO:Uno} == "yes"
TIMESTAMP=-T ${NETBSDSRCDIR}/sys/sys/param.h
.if ${MKREPRO_TIMESTAMP:Uno} != "no"
MAKEFS_TIMESTAMP=-T "${MKREPRO_TIMESTAMP}"
.endif
.if ${MKUNPRIVED} == "no"
@ -285,7 +285,7 @@ image:
.endif
if [ -s ${WORKSPEC} ]; then specarg="-F ${WORKSPEC}"; fi; \
${TOOL_MAKEFS} -N ${NETBSDSRCDIR}/etc -t cd9660 $${specarg} \
${TIMESTAMP} ${CDMAKEFSEXTRAOPTS} -o ${_CDMAKEFSOPTIONS:Q} ${CDIMAGE} cdrom
${MAKEFS_TIMESTAMP} ${CDMAKEFSEXTRAOPTS} -o ${_CDMAKEFSOPTIONS:Q} ${CDIMAGE} cdrom
.if ${CDRELEASE} == false
release: prepare .WAIT prepare_md_post .WAIT copy-releasedir .WAIT image_md_pre .WAIT image .WAIT image_md_post