summaryrefslogtreecommitdiffstats
path: root/tools/tools
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2009-03-21 19:09:33 +0000
committerphk <phk@FreeBSD.org>2009-03-21 19:09:33 +0000
commit30b31b3e4e81ec09f2785ceea4a1573639e87cbb (patch)
tree124f886add26fa638d609b6694da35385d736371 /tools/tools
parent651cad19568dc047234388ea26aeeed77b2a4567 (diff)
downloadFreeBSD-src-30b31b3e4e81ec09f2785ceea4a1573639e87cbb.zip
FreeBSD-src-30b31b3e4e81ec09f2785ceea4a1573639e87cbb.tar.gz
Wrap a long line.
Save a copy of the CONFIGFILES before we spam them.
Diffstat (limited to 'tools/tools')
-rw-r--r--tools/tools/sysbuild/sysbuild.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/tools/sysbuild/sysbuild.sh b/tools/tools/sysbuild/sysbuild.sh
index c9ae016..b576038 100644
--- a/tools/tools/sysbuild/sysbuild.sh
+++ b/tools/tools/sysbuild/sysbuild.sh
@@ -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
OpenPOWER on IntegriCloud