From df55ca727848cbd044d9680ca9eba65e7e9c9771 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sat, 21 Mar 2009 19:09:33 +0000 Subject: [PATCH] Wrap a long line. Save a copy of the CONFIGFILES before we spam them. --- tools/tools/sysbuild/sysbuild.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/tools/tools/sysbuild/sysbuild.sh b/tools/tools/sysbuild/sysbuild.sh index c9ae0163c011..b57603881cbe 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