PERFORCE change 80961 for review

soc-andrew soc-andrew at FreeBSD.org
Mon Jul 25 13:24:32 GMT 2005


http://perforce.freebsd.org/chv.cgi?CH=80961

Change 80961 by soc-andrew at 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 \


More information about the p4-projects mailing list