PERFORCE change 79810 for review

soc-andrew soc-andrew at FreeBSD.org
Sat Jul 9 08:59:49 GMT 2005


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

Change 79810 by soc-andrew at soc-andrew_serv on 2005/07/09 08:59:11

	Get the boot CD to automaticly start the BSD Installer

Affected files ...

.. //depot/projects/soc2005/bsdinstaller/scripts/build_patch.sh#3 edit
.. //depot/projects/soc2005/bsdinstaller/src/release/Makefile#5 edit
.. //depot/projects/soc2005/bsdinstaller/src/release/bsdinstaller/bsdinstaller_shell.sh#1 add
.. //depot/projects/soc2005/bsdinstaller/src/release/bsdinstaller/gettytab#1 add
.. //depot/projects/soc2005/bsdinstaller/src/release/bsdinstaller/ttys.i386#1 add

Differences ...

==== //depot/projects/soc2005/bsdinstaller/scripts/build_patch.sh#3 (text+ko) ====

@@ -6,7 +6,7 @@
 FILES="lib/Makefile usr.sbin/Makefile release/Makefile"
 
 # Dir's to create a tarball of:name for tarball
-DIRS="contrib/bsdinstaller:base lib/bsdinstaller:lib usr.sbin/bsdinstaller:usr_sbin"
+DIRS="contrib/bsdinstaller:base lib/bsdinstaller:lib usr.sbin/bsdinstaller:usr_sbin release/bsdinstaller:release"
 
 VENDOR="//depot/vendor/freebsd/src"
 BSDINS="//depot/projects/soc2005/bsdinstaller/src"

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

@@ -773,6 +773,14 @@
 		mkdir ${RD}/bsdinstaller/root/$$dir; \
 	done )
 	@echo "/dev/acd0 /usr cd9660 ro 0 0" > ${RD}/bsdinstaller/root/etc/fstab
+	@cat ${.CURDIR}/bsdinstaller/gettytab >> ${RD}/bsdinstaller/root/etc/gettytab
+	cp ${.CURDIR}/bsdinstaller/ttys.i386 ${RD}/bsdinstaller/root/etc/ttys
+	cp ${.CURDIR}/bsdinstaller/bsdinstaller_shell.sh ${RD}/bsdinstaller/root/
+	chmod u+x ${RD}/bsdinstaller/root/bsdinstaller_shell.sh
+	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 \
+                ${RD}/bsdinstaller/master.passwd
 	sh -e ${DOFS_SH} ${RD}/bsdinstaller/mfsroot ${RD} ${MNT} \
 	  10000 ${RD}/bsdinstaller/root ${MFSINODE} auto
 	@gzip -9fnv ${RD}/bsdinstaller/mfsroot


More information about the p4-projects mailing list