summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-11-14 23:01:44 +0100
committerDaniel Baumann <daniel@debian.org>2007-11-14 23:01:44 +0100
commit6edcf23b29c35b7327c3a44da1c97f329189fb24 (patch)
tree8e0acd7a960c115cf0cf01da9626e7f24b033ccd /helpers
parent7b8a85422a97689a231fddc968a086c11513e4af (diff)
downloadvyos-live-build-6edcf23b29c35b7327c3a44da1c97f329189fb24.tar.gz
vyos-live-build-6edcf23b29c35b7327c3a44da1c97f329189fb24.zip
Do not create the filesystem with parted.
Diffstat (limited to 'helpers')
-rwxr-xr-xhelpers/lh_binary_usb-hdd4
-rwxr-xr-xhelpers/lh_source_usb-hdd2
2 files changed, 3 insertions, 3 deletions
diff --git a/helpers/lh_binary_usb-hdd b/helpers/lh_binary_usb-hdd
index f4d0945d8..24cae02d9 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} mkpartfs primary fat16 0.0 100%" || true
+ Chroot "parted -s ${FREELO} mkpart primary fat16 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} mkpartfs primary fat16 0.0 100% || true
+ parted -s ${FREELO} mkpart primary fat16 0.0 100% || true
parted -s ${FREELO} set 1 boot on || true
parted -s ${FREELO} set 1 lba off || true
diff --git a/helpers/lh_source_usb-hdd b/helpers/lh_source_usb-hdd
index a94ac3df4..189be31c3 100755
--- a/helpers/lh_source_usb-hdd
+++ b/helpers/lh_source_usb-hdd
@@ -86,7 +86,7 @@ fi
echo "!!! The following error/warning messages can be ignored !!!"
Losetup $FREELO source.img 0
Chroot "parted -s ${FREELO} mklabel msdos" || true
-Chroot "parted -s ${FREELO} mkpartfs primary fat16 0.0 100%" || true
+Chroot "parted -s ${FREELO} mkpart primary fat16 0.0 100%" || true
Chroot "parted -s ${FREELO} set 1 lba off" || true
${LH_LOSETUP} -d ${FREELO}