Module Name: src Committed By: christos Date: Thu May 16 17:55:48 UTC 2024
Modified Files: src/distrib/common: Makefile.bootcd Log Message: Add more extra stuff on the cds To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/distrib/common/Makefile.bootcd Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/distrib/common/Makefile.bootcd diff -u src/distrib/common/Makefile.bootcd:1.54 src/distrib/common/Makefile.bootcd:1.55 --- src/distrib/common/Makefile.bootcd:1.54 Tue May 14 13:17:13 2024 +++ src/distrib/common/Makefile.bootcd Thu May 16 13:55:48 2024 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.bootcd,v 1.54 2024/05/14 17:17:13 christos Exp $ +# $NetBSD: Makefile.bootcd,v 1.55 2024/05/16 17:55:48 christos Exp $ # # Makefile snipped to create a CD/DVD ISO # @@ -324,8 +324,12 @@ image: .endif if [ ! -s ${WORKSPEC} ]; then \ ${MAKESPEC} -d cdrom . > ${WORKSPEC}; \ - elif [ -d cdrom/${MACHINE} ]; then \ - ${MAKESPEC} -d cdrom ${MACHINE} >> ${WORKSPEC}; \ + else \ + for i in ${RELEASEMACHINEDIR} source ${CDEXTRA} ${CDBUILDEXTRA}; do\ + if [ -n "$$i" ] && [ -e cdrom/$$i ]; then \ + ${MAKESPEC} -d cdrom $$i >> ${WORKSPEC}; \ + fi; \ + done; \ fi ${TOOL_MAKEFS} -N ${NETBSDSRCDIR}/etc -t cd9660 -F ${WORKSPEC} -xx \ ${MAKEFS_TIMESTAMP} ${CDMAKEFSEXTRAOPTS} -o ${_CDMAKEFSOPTIONS:Q} \