diff options
author | Daniel Baumann <daniel@debian.org> | 2013-02-15 11:53:42 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-05-06 14:50:05 +0200 |
commit | 6f39d25611704ac693a856ccabf941315f4aac9e (patch) | |
tree | e1aef2d4ede438da8263d774d2f367bd4eefbbc0 /scripts | |
parent | c6c9946048b3db150f0c24db6c5f0ac868e83cfe (diff) | |
download | vyos-live-build-6f39d25611704ac693a856ccabf941315f4aac9e.tar.gz vyos-live-build-6f39d25611704ac693a856ccabf941315f4aac9e.zip |
Allowing to use parted its automatic offset handling at the beginning of a disk, rather than to harcode it to first block (Closes: #647607).
Diffstat (limited to 'scripts')
-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 4ce146383..f6fb3d8f1 100755 --- a/scripts/build/binary_hdd +++ b/scripts/build/binary_hdd @@ -167,7 +167,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.0 100%" || true + Chroot chroot "parted -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 @@ -179,7 +179,7 @@ case "${LB_BUILD_WITH_CHROOT}" in false) parted -s ${FREELO} mklabel ${PARTITION_TABLE_TYPE} || true - parted -s ${FREELO} mkpart primary ${PARTITION_TYPE} 0.0 100% || true + parted -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 |