summaryrefslogtreecommitdiff
path: root/scripts/build/source_hdd
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-10-17 12:26:42 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2013-10-17 12:27:42 +0200
commit4afbc74f34068a4460a596c18d5f425fe180349e (patch)
treef58d216f51e67ee37d0239f9adc9c70d5c05bfb6 /scripts/build/source_hdd
parent28dba93085ee94c3a8cc3eb4145a3ce027c0e707 (diff)
downloadvyos-live-build-4afbc74f34068a4460a596c18d5f425fe180349e.tar.gz
vyos-live-build-4afbc74f34068a4460a596c18d5f425fe180349e.zip
Calling parted with optimal aligning.
Diffstat (limited to 'scripts/build/source_hdd')
-rwxr-xr-xscripts/build/source_hdd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/source_hdd b/scripts/build/source_hdd
index 2bac010b7..85709562a 100755
--- a/scripts/build/source_hdd
+++ b/scripts/build/source_hdd
@@ -96,7 +96,7 @@ esac
Echo_warning "!!! The following error/warning messages can be ignored !!!"
Losetup $FREELO ${LIVE_IMAGE_NAME}-source.img 0
Chroot chroot "parted -s ${FREELO} mklabel msdos" || true
-Chroot chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100%" || true
+Chroot chroot "parted -a optimal -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100%" || true
Lodetach ${FREELO}
Losetup $FREELO ${LIVE_IMAGE_NAME}-source.img 1