svn commit: r190209 - head/tools/tools/sysbuild

Poul-Henning Kamp phk at FreeBSD.org
Sat Mar 21 12:09:34 PDT 2009


Author: phk
Date: Sat Mar 21 19:09:33 2009
New Revision: 190209
URL: http://svn.freebsd.org/changeset/base/190209

Log:
  Wrap a long line.
  
  Save a copy of the CONFIGFILES before we spam them.

Modified:
  head/tools/tools/sysbuild/sysbuild.sh

Modified: head/tools/tools/sysbuild/sysbuild.sh
==============================================================================
--- head/tools/tools/sysbuild/sysbuild.sh	Sat Mar 21 18:40:38 2009	(r190208)
+++ head/tools/tools/sysbuild/sysbuild.sh	Sat Mar 21 19:09:33 2009	(r190209)
@@ -420,8 +420,7 @@ log_it Installworld
 	> /mnt/_.iw 2>&1
 
 log_it distribution
-(cd /usr/src/etc && make -m /usr/src/share/mk distribution \
-	DESTDIR=/mnt ${SRCCONF} ) \
+(cd /usr/src/etc && make -m /usr/src/share/mk distribution DESTDIR=/mnt ${SRCCONF} ) \
 	> /mnt/_.dist 2>&1
 
 log_it Installkernel
@@ -512,6 +511,12 @@ if [ "x$SERCONS" != "xfalse" ] ; then
 fi
 
 log_it move config files
+(
+	cd /mnt
+	mkdir root/configfiles_dist
+	find ${CONFIGFILES} -print | cpio -dumpv root/configfiles_dist
+)
+
 (cd / && find ${CONFIGFILES} -print | cpio -dumpv /mnt)
 
 log_it final_root


More information about the svn-src-head mailing list