summaryrefslogtreecommitdiff
path: root/helpers/lh_binary_usb-hdd
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-11-18 11:33:46 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:22:29 +0100
commitcbcb382f13f4a17cd0fa515410f50404e24dbf59 (patch)
tree88eaa8322932c57da937eddb97907a85fe746746 /helpers/lh_binary_usb-hdd
parentcd2618e5d51e24888540f6bd0c7ee36bbe0086b4 (diff)
downloadvyos-live-build-cbcb382f13f4a17cd0fa515410f50404e24dbf59.tar.gz
vyos-live-build-cbcb382f13f4a17cd0fa515410f50404e24dbf59.zip
Fixing wrong parted call.
Diffstat (limited to 'helpers/lh_binary_usb-hdd')
-rwxr-xr-xhelpers/lh_binary_usb-hdd4
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd
index 429e4196d..3875cae2a 100755
--- a/helpers/lh_binary_usb-hdd
+++ b/helpers/lh_binary_usb-hdd
@@ -99,7 +99,7 @@ Losetup $FREELO chroot/binary.img 0
case "${LH_CHROOT_BUILD}" in
enabled)
Chroot "parted -s ${FREELO} mklabel msdos" || true
- Chroot "parted -s ${FREELO} mkpart ${LH_BINARY_FILESYSTEM} primary 0.0 100%" || true
+ Chroot "parted -s ${FREELO} mkpart primary ${LH_BINARY_FILESYSTEM} 0.0 100%" || true
Chroot "parted -s ${FREELO} set 1 boot on" || true
Chroot "parted -s ${FREELO} set 1 lba off" || true
@@ -111,7 +111,7 @@ case "${LH_CHROOT_BUILD}" in
disabled)
parted -s ${FREELO} mklabel msdos || true
- parted -s ${FREELO} mkpart ${LH_BINARY_FILESYSTEM} primary 0.0 100% || true
+ parted -s ${FREELO} mkpart primary ${LH_BINARY_FILESYSTEM} 0.0 100% || true
parted -s ${FREELO} set 1 boot on || true
parted -s ${FREELO} set 1 lba off || true