[PATCH 0/1] autotest: sfdisk: do not hardcode starting sector

Paolo Pisati paolo.pisati at canonical.com
Wed Mar 4 12:15:22 UTC 2020


Using 0 as a fixed starting sector causes an error:

>>> Created a new DOS disklabel with disk identifier 0x9b4a9cf7.
/dev/loop1p1: Start sector 0 out of range.
Failed to add #1 partition: Numerical result out of range
Leaving.

Fix it by letting sfdisk pick the first available sector instead of
using a fixed value.

Paolo Pisati (1):
  UBUNTU: SAUCE: autotest: sfdisk: let sfdisk decide the first available
    sector

 client/partition.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.25.1




More information about the kernel-team mailing list