summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominique Martinet <asmadeus@codewreck.org>2012-10-02 06:07:02 +0200
committerDominique Martinet <asmadeus@codewreck.org>2012-10-02 06:12:41 +0200
commit63eacbb8bc62b3ca9071eac9a18fed83570828bc (patch)
tree7deb85ac299ab4b4f995f073716b1dde1c1b3999
parentbba7a9061905a127c8ac1202f916d8ec1ed5c870 (diff)
fixed bootstrap - mount proc before remounting / in bootstrap script... silly changing initrd
-rwxr-xr-xbootstrap/debian/bootstrap.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/bootstrap/debian/bootstrap.sh b/bootstrap/debian/bootstrap.sh
index f0e7759..a27a35a 100755
--- a/bootstrap/debian/bootstrap.sh
+++ b/bootstrap/debian/bootstrap.sh
@@ -76,7 +76,7 @@ EOF
,,L,*
EOF
fi
- PARTDEV=`map_disk $DISKDEV`
+ PARTDEV=`map_disk "$DISKDEV"`
if [[ -n "$SWAP_SIZE" ]]; then
swapdev="${PARTDEV:0:$((${#PARTDEV}-1))}2"
@@ -125,11 +125,11 @@ EOF
cat > "$BS_FILE" << EOF
#!/bin/sh
export PATH="/usr/sbin:/usr/bin:/sbin:/bin"
+mount -nt proc proc /proc
mount -no remount,rw /
cat /proc/mounts
/debootstrap/debootstrap --second-stage
-mount -nt proc proc /proc
echo -e '\n\n\n'