curtin-dev team mailing list archive
-
curtin-dev team
-
Mailing list archive
-
Message #00086
Re: [Merge] ~raharper/curtin:fix/block-meta-get-device-paths-skip-missing into curtin:master
Review: Approve
LGTM ty for the updates
Diff comments:
> diff --git a/curtin/commands/block_meta.py b/curtin/commands/block_meta.py
> index 36d3146..7fbd89f 100644
> --- a/curtin/commands/block_meta.py
> +++ b/curtin/commands/block_meta.py
> @@ -906,8 +908,9 @@ def partition_handler(info, storage_config):
>
> # ensure partition exists
> if multipath.is_mpath_device(disk):
> + udevadm_settle() # allow partition creation to happen
> # update device mapper table mapping to mpathX-partN
> - util.subp(['kpartx', '-v', '-a', '-p-part', disk])
> + util.subp(['kpartx', '-v', '-a', '-s', '-p', '-part', disk])
good catch
> part_path = disk + "-part%s" % partnumber
> else:
> part_path = block.dev_path(block.partition_kname(disk_kname,
--
https://code.launchpad.net/~raharper/curtin/+git/curtin/+merge/382718
Your team curtin developers is subscribed to branch curtin:master.
References