From: Martin Pitt Date: Mon, 11 Oct 2010 08:53:57 +0000 (+0200) Subject: makechroot: fix bind mounting for /home X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=0b09ab125e0f3380abda81c5a7857f7be52fecb3;p=bin.git makechroot: fix bind mounting for /home --- diff --git a/makechroot b/makechroot index 76201b1..b255b7b 100755 --- a/makechroot +++ b/makechroot @@ -29,10 +29,10 @@ if ! grep -q $DIR /etc/fstab; then cat <> /etc/fstab # $DIST chroot -/home $DIR/home none rbind 0 0 -/proc $DIR/proc none bind 0 0 -/sys $DIR/sys none bind 0 0 -/tmp $DIR/tmp none bind 0 0 +/home/martin $DIR/home/martin none bind 0 0 +/proc $DIR/proc none bind 0 0 +/sys $DIR/sys none bind 0 0 +/tmp $DIR/tmp none bind 0 0 EOF mount $DIR/home mount $DIR/proc