]> piware.de Git - bin.git/commitdiff
makechroot: fix bind mounting for /home
authorMartin Pitt <martin@piware.de>
Mon, 11 Oct 2010 08:53:57 +0000 (10:53 +0200)
committerMartin Pitt <martin@piware.de>
Mon, 11 Oct 2010 08:53:57 +0000 (10:53 +0200)
makechroot

index 76201b1e97616558ed649a310dfc0d71618f5052..b255b7b525f093f3cd5d1ccc8cba80c98d7612c0 100755 (executable)
@@ -29,10 +29,10 @@ if ! grep -q $DIR /etc/fstab; then
     cat <<EOF >> /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