From 12d11775351e5b07dddeae4220712d2e8d137568 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Fri, 20 Jan 2012 18:31:12 +0000 Subject: Actually run pass2 Also, unmount virtual filesystems using the shell function for it. --- run-bootstrap-in-chroot | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'run-bootstrap-in-chroot') diff --git a/run-bootstrap-in-chroot b/run-bootstrap-in-chroot index 0dcbaa9c..2cd74cea 100755 --- a/run-bootstrap-in-chroot +++ b/run-bootstrap-in-chroot @@ -28,8 +28,8 @@ else fi mirror="http://192.168.1.185/debian" -umount "$dir/proc" || true -umount "$dir/sys" || true + +unmount_virtual "$dir" rm -rf "$dir" mkdir "$dir" @@ -86,7 +86,7 @@ cp -rl "$HOME/baserock/gits" "$dir/tree/baserock/gits" cp baserock-bootstrap "$dir/." sed 's,^.*/,http://192.168.1.185/lfs/,' wget-list > "$dir/wget-list" if mount_virtual "$dir" && - chroot "$dir" bash -x baserock-bootstrap yes && + chroot "$dir" bash -x baserock-bootstrap no && unmount_virtual "$dir" then : -- cgit v1.2.1