sfdisk: 2.26: removed --in-order and --unit M

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
pull/62/head
Robert Nelson 10 years ago
parent c25d7d1d9b
commit 488c0d2b12

@ -844,7 +844,8 @@ unmount_all_drive_partitions () {
} }
sfdisk_partition_layout () { sfdisk_partition_layout () {
LC_ALL=C sfdisk --force --in-order --Linux --unit M "${media}" <<-__EOF__ deprecated="--in-order --unit M"
LC_ALL=C sfdisk --force --Linux ${deprecated} "${media}" <<-__EOF__
${conf_boot_startmb},${conf_boot_endmb},${sfdisk_fstype},* ${conf_boot_startmb},${conf_boot_endmb},${sfdisk_fstype},*
__EOF__ __EOF__

Loading…
Cancel
Save