Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/distrib Exit with 1 so that we stay in single user mode when...
details: https://anonhg.NetBSD.org/src/rev/ff7dece55a39
branches: trunk
changeset: 747633:ff7dece55a39
user: christos <christos%NetBSD.org@localhost>
date: Fri Sep 25 14:09:27 2009 +0000
description:
Exit with 1 so that we stay in single user mode when sysinst exits with 'x'.
Otherwise things get messed up (no /dev). From Anon Ymous
diffstat:
distrib/common/Makefile.bootcd | 3 ++-
distrib/i386/cdroms/Makefile.cdrom | 5 ++++-
2 files changed, 6 insertions(+), 2 deletions(-)
diffs (36 lines):
diff -r 7cb6cb681a9c -r ff7dece55a39 distrib/common/Makefile.bootcd
--- a/distrib/common/Makefile.bootcd Fri Sep 25 13:56:32 2009 +0000
+++ b/distrib/common/Makefile.bootcd Fri Sep 25 14:09:27 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.bootcd,v 1.16 2008/12/02 10:06:00 hubertf Exp $
+# $NetBSD: Makefile.bootcd,v 1.17 2009/09/25 14:09:27 christos Exp $
#
# Makefile snipped to create a CD/DVD ISO
#
@@ -67,6 +67,7 @@
RM?= rm
MKDIR?= mkdir -p
CHMOD?= chmod
+ECHO?= echo
CLEANFILES+= ${CDBASE}.iso
diff -r 7cb6cb681a9c -r ff7dece55a39 distrib/i386/cdroms/Makefile.cdrom
--- a/distrib/i386/cdroms/Makefile.cdrom Fri Sep 25 13:56:32 2009 +0000
+++ b/distrib/i386/cdroms/Makefile.cdrom Fri Sep 25 14:09:27 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.cdrom,v 1.12 2009/08/30 22:30:30 hubertf Exp $
+# $NetBSD: Makefile.cdrom,v 1.13 2009/09/25 14:09:27 christos Exp $
.include <bsd.own.mk>
@@ -48,6 +48,9 @@
image_md_pre:
${MKDIR} cdrom/etc
${CP} ${.CURDIR}/../../ramdisks/common/dot.profile cdrom/etc/rc
+ ${ECHO} "" >> cdrom/etc/rc
+ ${ECHO} "# exit to single user mode" >> cdrom/etc/rc
+ ${ECHO} "exit 1" >> cdrom/etc/rc
${MKDIR} cdrom/mnt2 cdrom/targetroot
${CP} ${SYSINSTDIR}/sysinst cdrom
${CHMOD} ugo+rx cdrom/sysinst
Home |
Main Index |
Thread Index |
Old Index