Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/i386/cdroms Make sure cdrom/etc exists before copyin...



details:   https://anonhg.NetBSD.org/src/rev/1b9ab52af6f0
branches:  trunk
changeset: 747056:1b9ab52af6f0
user:      hubertf <hubertf%NetBSD.org@localhost>
date:      Sun Aug 30 22:30:30 2009 +0000

description:
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.

diffstat:

 distrib/i386/cdroms/Makefile.cdrom |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r 0d9af2ca4a8f -r 1b9ab52af6f0 distrib/i386/cdroms/Makefile.cdrom
--- a/distrib/i386/cdroms/Makefile.cdrom        Sun Aug 30 21:27:35 2009 +0000
+++ b/distrib/i386/cdroms/Makefile.cdrom        Sun Aug 30 22:30:30 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index