diff --git a/distrib/common/Makefile.bootcd b/distrib/common/Makefile.bootcd index 3059b2fca467..67eaa189de15 100644 --- a/distrib/common/Makefile.bootcd +++ b/distrib/common/Makefile.bootcd @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.bootcd,v 1.32 2015/05/29 06:28:50 martin Exp $ +# $NetBSD: Makefile.bootcd,v 1.33 2015/11/25 00:50:57 christos Exp $ # # Makefile snipped to create a CD/DVD ISO # @@ -74,6 +74,10 @@ _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 +.endif + .if ${MKUNPRIVED} == "no" CD_METALOG.unpriv= mtunpriv= @@ -281,7 +285,7 @@ image: .endif if [ -s ${WORKSPEC} ]; then specarg="-F ${WORKSPEC}"; fi; \ ${TOOL_MAKEFS} -N ${NETBSDSRCDIR}/etc -t cd9660 $${specarg} \ - ${CDMAKEFSEXTRAOPTS} -o ${_CDMAKEFSOPTIONS:Q} ${CDIMAGE} cdrom + ${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 diff --git a/distrib/common/bootimage/Makefile.bootimage b/distrib/common/bootimage/Makefile.bootimage index f013288f8a61..d5281e4f0f0c 100644 --- a/distrib/common/bootimage/Makefile.bootimage +++ b/distrib/common/bootimage/Makefile.bootimage @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.bootimage,v 1.11 2015/05/08 17:46:03 riastradh Exp $ +# $NetBSD: Makefile.bootimage,v 1.12 2015/11/25 00:50:57 christos Exp $ # # Copyright (c) 2009, 2010, 2011 Izumi Tsutsui. All rights reserved. # @@ -127,6 +127,10 @@ .include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" +.if ${MKREPRO:Uno} == "yes" +TIMESTAMP=-T ${NETBSDSRCDIR}/sys/sys/param.h +.endif + .if empty(IMGBASE) .BEGIN: @echo "Error: IMGBASE is not set" @@ -292,6 +296,7 @@ ${TARGETFS}: prepare_md_post ${TOOL_MAKEFS} -M ${FSSIZE} -m ${FSSIZE} \ -B ${TARGET_ENDIANNESS} \ -F ${WORKSPEC} -N ${WORKDIR}/etc \ + ${TIMESTAMP} \ ${IMGMAKEFSOPTIONS} \ ${WORKFS} ${WORKDIR} .if !empty(PRIMARY_BOOT) && ${INSTALLBOOT_AFTER_DISKLABEL} == "no"