Index: build/install-chroot.sh |
diff --git a/build/install-chroot.sh b/build/install-chroot.sh |
index b80aea0fd52b9819f49be35089de750151a4767a..4fbf1e6917d5b56d2cb412147d0f69f1e55b7db0 100755 |
--- a/build/install-chroot.sh |
+++ b/build/install-chroot.sh |
@@ -203,7 +203,8 @@ EOF |
sed '/^FSTAB=/s,/mount-defaults",/mount-'"${target}"'",' \ |
/etc/schroot/script-defaults | |
sudo sh -c 'cat >/etc/schroot/script-'"${target}" |
-sudo cp /etc/schroot/mount-defaults /etc/schroot/mount-"${target}" |
+sed '\,^/home[/[:space:]],s/,bind/,rbind/' /etc/schroot/mount-defaults | |
Markus (顧孟勤)
2012/02/29 18:45:55
I am a little worried that there might be versions
|
+ sudo sh -c 'cat > /etc/schroot/mount-'"${target}" |
echo "$HOME/chroot/.${target} $HOME/chroot none rw,bind 0 0" | |
sudo sh -c 'cat >>/etc/schroot/mount-'"${target}" |
mkdir -p "$HOME/chroot/.${target}" |