diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2013-10-17 12:26:42 +0200 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-10-17 12:27:42 +0200 |
commit | 4afbc74f34068a4460a596c18d5f425fe180349e (patch) | |
tree | f58d216f51e67ee37d0239f9adc9c70d5c05bfb6 /scripts/build/binary_hdd | |
parent | 28dba93085ee94c3a8cc3eb4145a3ce027c0e707 (diff) | |
download | vyos-live-build-4afbc74f34068a4460a596c18d5f425fe180349e.tar.gz vyos-live-build-4afbc74f34068a4460a596c18d5f425fe180349e.zip |
Calling parted with optimal aligning.
Diffstat (limited to 'scripts/build/binary_hdd')
-rwxr-xr-x | scripts/build/binary_hdd | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/binary_hdd b/scripts/build/binary_hdd index 6527a3c85..8697528f6 100755 --- a/scripts/build/binary_hdd +++ b/scripts/build/binary_hdd @@ -173,7 +173,7 @@ esac case "${LB_BUILD_WITH_CHROOT}" in true) Chroot chroot "parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE}" || true - Chroot chroot "parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0% 100%" || true + Chroot chroot "parted -a optimal -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0% 100%" || true Chroot chroot "parted -s ${FREELO} set 1 boot on" || true Chroot chroot "parted -s ${FREELO} set 1 lba off" || true @@ -185,7 +185,7 @@ case "${LB_BUILD_WITH_CHROOT}" in false) parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE} || true - parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0% 100% || true + parted -a optimal -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0% 100% || true parted -s "${FREELO}" set 1 boot on || true parted -s "${FREELO}" set 1 lba off || true |