curtin-dev team mailing list archive
-
curtin-dev team
-
Mailing list archive
-
Message #00464
Re: [Merge] ~raharper/curtin:fix/partition-verify-flags-msdos-primary-types into curtin:master
Diff comments:
> diff --git a/curtin/commands/block_meta.py b/curtin/commands/block_meta.py
> index f2bb8da..ff0f2e9 100644
> --- a/curtin/commands/block_meta.py
> +++ b/curtin/commands/block_meta.py
> @@ -760,7 +760,9 @@ def verify_ptable_flag(devpath, expected_flag, sfdisk_info=None):
> elif expected_flag == 'logical':
> (_parent, partnumber) = block.get_blockdev_for_partition(devpath)
> found_flag = 'logical' if int(partnumber) > 4 else None
> - else:
> +
> + # gpt and msdos primary partitions look up flag by entry['type']
> + if found_flag is None:
> (found_flag, _code) = ptable_uuid_to_flag_entry(entry['type'])
All partitions entries will have a type, yes.
> msg = (
> 'Verifying %s partition flag, expecting %s, found %s' % (
--
https://code.launchpad.net/~raharper/curtin/+git/curtin/+merge/384133
Your team curtin developers is subscribed to branch curtin:master.
References