svn commit: r217763 - user/nwhitehorn/bsdinstall/release

Nathan Whitehorn nwhitehorn at FreeBSD.org
Sun Jan 23 22:39:31 UTC 2011


Author: nwhitehorn
Date: Sun Jan 23 22:39:31 2011
New Revision: 217763
URL: http://svn.freebsd.org/changeset/base/217763

Log:
  Put bsdinstall into the installed system.

Modified:
  user/nwhitehorn/bsdinstall/release/testsystem.sh

Modified: user/nwhitehorn/bsdinstall/release/testsystem.sh
==============================================================================
--- user/nwhitehorn/bsdinstall/release/testsystem.sh	Sun Jan 23 22:27:51 2011	(r217762)
+++ user/nwhitehorn/bsdinstall/release/testsystem.sh	Sun Jan 23 22:39:31 2011	(r217763)
@@ -19,6 +19,12 @@ rm -rf $1
 cd /usr/src
 mkdir $1
 make installworld distribution DESTDIR=$1
+
+# Install BSDinstall as though it were part of world
+mkdir $1/usr/libexec/bsdinstall
+cd $BSDINSTALL
+make install DESTDIR=$1
+
 cd $1
 tar cvzf $2/world.tgz .
 # Keep world around
@@ -35,10 +41,7 @@ echo kernel_options=\"-C\" > $1/boot/loa
 echo sendmail_enable=\"NONE\" > $1/etc/rc.conf
 echo hostid_enable=\"NO\" >> $1/etc/rc.conf
 touch $1/etc/fstab
-
 cd $BSDINSTALL
 cp release/rc.local $1/etc
-mkdir $1/usr/libexec/bsdinstall
-make install DESTDIR=$1
 
 sh /usr/src/release/i386/mkisoimages.sh -b FreeBSD_Install $3 $1


More information about the svn-src-user mailing list