]> git.ipfire.org Git - thirdparty/util-linux.git/commit
sfdisk: fix --append to PT with gaps
authorKarel Zak <kzak@redhat.com>
Mon, 2 Mar 2020 11:27:36 +0000 (12:27 +0100)
committerKarel Zak <kzak@redhat.com>
Mon, 2 Mar 2020 11:27:36 +0000 (12:27 +0100)
commitfa3fface0f83dbf186f046210700473da7a4800b
treedaeae205854b29c62d6e44a9df668a88ef4d85a3
parent940928c9f172d75952a2d064056c35b56aa8e4e1
sfdisk: fix --append to PT with gaps

sfdisk trying to be more smart than libfdisk when analyze if we can
append to the current PT. libfdisk is able to use unused partition
to create a new one (if partno not strictly specified), but sfdisk
assumes that we can add partition to extended partition only.

Addresses: https://github.com/calamares/calamares/issues/1332
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/sfdisk.c