diff options
author | Daniel Baumann <daniel@debian.org> | 2013-02-15 11:53:42 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-04-09 05:22:12 +0200 |
commit | 09067bbbf82545c6b53fd8dedd1781715e876f19 (patch) | |
tree | 9a1a1a16d0d19da304b3f973be7967690fccf645 /scripts | |
parent | bb69c170aebebbd7aa8e21d661659197e8f7c180 (diff) | |
download | vyos-live-build-09067bbbf82545c6b53fd8dedd1781715e876f19.tar.gz vyos-live-build-09067bbbf82545c6b53fd8dedd1781715e876f19.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 a7e13d432..e7b5e1d76 100755 --- a/scripts/build/binary_hdd +++ b/scripts/build/binary_hdd @@ -175,7 +175,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 @@ -187,7 +187,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 |