summaryrefslogtreecommitdiffstats
path: root/installer
diff options
context:
space:
mode:
authorSebastian Schmelzer2011-05-04 18:11:19 +0200
committerSebastian Schmelzer2011-05-04 18:11:19 +0200
commitade0d1f264970b404de66142d830b07a4ce43ddc (patch)
tree6f80e2df7863a598666272b116e37e4c6139f62e /installer
parentfix for small, single partition usb sticks (diff)
downloadusb-boot-stick-ade0d1f264970b404de66142d830b07a4ce43ddc.tar.gz
usb-boot-stick-ade0d1f264970b404de66142d830b07a4ce43ddc.tar.xz
usb-boot-stick-ade0d1f264970b404de66142d830b07a4ce43ddc.zip
pbmtk v1
Diffstat (limited to 'installer')
-rwxr-xr-xinstaller/tpl/installer.tpl.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/installer/tpl/installer.tpl.sh b/installer/tpl/installer.tpl.sh
index 0e5c83b..15ef6ce 100755
--- a/installer/tpl/installer.tpl.sh
+++ b/installer/tpl/installer.tpl.sh
@@ -179,7 +179,6 @@ fi
mkdir -p /media/openslx-stick /media/openslx-stick-usrhome
-sync
if [ "x$NO_USRHOME" != "xtrue" ]; then
mount /dev/${OUT_DEV}2 /media/openslx-stick
@@ -190,9 +189,9 @@ fi
mkdir -p /media/openslx-stick/boot
-cp -v $TMP_DIR/boot/* /media/openslx-stick/boot/ $DEBUG_OUT
+cp -v $TMP_DIR/boot/* /media/openslx-stick/boot/
-umount /media/openslx-stick $DEBUG_OUT
+umount /media/openslx-stick
umount /media/openslx-stick-usrhome $DEBUG_OUT
rm -rf /media/openslx-stick* $DEBUG_OUT