Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(504)

Unified Diff: build/install-chroot.sh

Issue 9500022: Make chroot setup work better with NFS home dirs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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}"
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698