~dgadomski/curtin:snap

Last commit made on 2023-04-26
Get this branch:
git clone -b snap https://git.launchpad.net/~dgadomski/curtin
Only Dariusz Gadomski can upload to this branch. If you are Dariusz Gadomski please log in for upload directions.

Branch merges

Branch information

Name:
snap
Repository:
lp:~dgadomski/curtin

Recent commits

508b7d4... by Dan Bungert

more deps

fd5b744... by Dan Bungert

sure

202e7dd... by Dan Bungert

sure

4e4ca5e... by Dan Bungert

fix

6eaa923... by Dan Bungert

fix

9a9409e... by Dan Bungert

wip

e1af11e... by Olivier Gayot

block_meta_v2: don't solely expect flag='logical' for logical partitions

Most of the time, a logical partition has its flag set to 'local'.
However, it some cases, it can also have flag set to 'swap', 'boot' and
possibly other values.

To determine if a partition is actually logical on a DOS partition
table, we need to check the partition number.

33411a7... by Dan Bungert

block: ntfsresize with force options

To match Ubiquity behavior, we should run ntfsresize with the force
options and sending 'y\n' on input.

73da3c4... by Olivier Gayot

block-meta: fix failed disk lookup when WWN includes extension

curtin's storage config extracts the WWN of a disk from one of the
following udev variables:

 * ID_WWN_WITH_EXTENSION (preferred)
 * ID_WWN

However, when trying to look the disk up later in the block-meta code,
curtin only tries to match the WWN value against the ID_WWN variable
(and another variable related to DM multipath).

This means that the disk can not be be found just based on the wwn if
the ID_WWN and ID_WWN_WITH_EXTENSION variables don't hold the same
value.

In the past, that was often okay because other fields (such as disk path
or serial) would still make the disk lookup succeed.

However, the following patch introduced a restriction. In v2, all fields
specified must now match for the disk lookup to be successful:

8c5f87ed block_meta: all fields on a disk action must match with v2 config

Fixed by matching against the ID_WWN_WITH_EXTENSION (preferred) and then
ID_WWN.

270e9a7... by Alexander Koskovich

curtin: Add support for F2FS

Signed-off-by: Alexander Koskovich <email address hidden>