Module Name: src
Committed By: hubertf
Date: Sun Aug 30 22:30:30 UTC 2009
Modified Files:
src/distrib/i386/cdroms: Makefile.cdrom
Log Message:
Make sure cdrom/etc exists before copying files into it.
Needed when someone sets CDRUNTIME to "" in a subdirectory's Makefile,
to not get anything besides a kernel and maybe a ramdisk (module) on a CD.
To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/distrib/i386/cdroms/Makefile.cdrom
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/i386/cdroms/Makefile.cdrom
diff -u src/distrib/i386/cdroms/Makefile.cdrom:1.11 src/distrib/i386/cdroms/Makefile.cdrom:1.12
--- src/distrib/i386/cdroms/Makefile.cdrom:1.11 Sat Mar 7 20:19:45 2009
+++ src/distrib/i386/cdroms/Makefile.cdrom Sun Aug 30 22:30:30 2009
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.cdrom,v 1.11 2009/03/07 20:19:45 christos Exp $
+# $NetBSD: Makefile.cdrom,v 1.12 2009/08/30 22:30:30 hubertf Exp $
.include <bsd.own.mk>
@@ -46,6 +46,7 @@
CDRUNTIME+= ./usr/share/misc/termcap
image_md_pre:
+ ${MKDIR} cdrom/etc
${CP} ${.CURDIR}/../../ramdisks/common/dot.profile cdrom/etc/rc
${MKDIR} cdrom/mnt2 cdrom/targetroot
${CP} ${SYSINSTDIR}/sysinst cdrom