Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jul 2005 08:59:46 GMT
From:      soc-andrew <soc-andrew@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 79810 for review
Message-ID:  <200507090859.j698xkRg045147@repoman.freebsd.org>

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

Change 79810 by soc-andrew@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



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