Draft: Set individual flags with SET_FLAG instead of SET_FLAGS (#1093565)

The current implementation using SET_FLAGS may fail to update the partition type flag when changing the partition usage. See bug #1093565 for details.

Using the new SET_FLAG command instead is simpler (no need to call GET_FLAGS) and more reliable (implicitly removes conflicting flags).

This change requires SET_FLAG support in partman-base, see MR partman-base!13 (merged). Do not merge or test before it is uploaded.

The following packages are affected by this issue:

  • partman-cros
  • partman-efi
  • partman-lvm
  • partman-md
  • partman-partitioning
  • partman-prep

The bug can be closed when all packages are updated to use the SET_FLAG command.

Merge request reports

Loading