Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Jul 2005 13:24:31 GMT
From:      soc-andrew <soc-andrew@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 80961 for review
Message-ID:  <200507251324.j6PDOVCX020293@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=80961

Change 80961 by soc-andrew@soc-andrew_serv on 2005/07/25 13:24:09

	Add a rc.d script to find the correct device for /usr and mount it. Also slip in a couple of *_enabled="NO" to rc.conf

Affected files ...

.. //depot/projects/soc2005/bsdinstaller/src/release/Makefile#11 edit
.. //depot/projects/soc2005/bsdinstaller/src/release/bsdinstaller/bsdinstaller#1 add

Differences ...

==== //depot/projects/soc2005/bsdinstaller/src/release/Makefile#11 (text+ko) ====

@@ -776,12 +776,14 @@
 		mkdir ${RD}/bsdinstaller/root/$$dir; \
 	done )
 
-	@echo "/dev/acd0 /usr cd9660 ro 0 0" > ${RD}/bsdinstaller/root/etc/fstab
+	@touch ${RD}/bsdinstaller/root/etc/fstab
 	ln -s /usr/boot ${RD}/bsdinstaller/root/boot
 	@echo "sendmail_enable=\"NONE\"" > ${RD}/bsdinstaller/root/etc/rc.conf
 	@echo "cron_enable=\"NO\"" >> ${RD}/bsdinstaller/root/etc/rc.conf
 	@echo "devd_enable=\"NO\"" >> ${RD}/bsdinstaller/root/etc/rc.conf
+	@echo "dumpdev=\"NO\"" >> ${RD}/bsdinstaller/root/etc/rc.conf
 	@echo "syslogd_enable=\"NO\"" >> ${RD}/bsdinstaller/root/etc/rc.conf
+	@echo "update_motd=\"NO\"" >> ${RD}/bsdinstaller/root/etc/rc.conf
 	@echo "kern.geom.debugflags=16" >> ${RD}/bsdinstaller/root/etc/sysctl.conf
 	@cat ${.CURDIR}/bsdinstaller/gettytab >> ${RD}/bsdinstaller/root/etc/gettytab
 	( if [ -f ${.CURDIR}/bsdinstaller/ttys.${TARGET_ARCH} ]; then \
@@ -790,6 +792,8 @@
 	fi )
 	cp ${.CURDIR}/bsdinstaller/bsdinstaller_shell.sh ${RD}/bsdinstaller/root/
 	chmod u+x ${RD}/bsdinstaller/root/bsdinstaller_shell.sh
+	cp ${.CURDIR}/bsdinstaller/bsdinstaller ${RD}/bsdinstaller/root/etc/rc.d/
+	chmod u+x ${RD}/bsdinstaller/root/etc/rc.d/bsdinstaller
 	cp ${RD}/bsdinstaller/root/etc/master.passwd ${RD}/bsdinstaller/master.passwd
 	@echo "bsdinstaller::0:0::0:0:BSD Installer:/root:/bsdinstaller_shell.sh" >> ${RD}/bsdinstaller/master.passwd
 	pwd_mkdb -p -d ${RD}/bsdinstaller/root/etc \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507251324.j6PDOVCX020293>