Logical swap partition gets considered primary
Bug #2039084 reported by
Olivier Gayot
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Fix Released
|
Undecided
|
Olivier Gayot |
Bug Description
Swap partitions and boot partitions theoretically have their flag set to "boot" or "swap" respectively. However, for logical partitions, the flag is set to "logical". Therefore, if a swap partition is part of the extended partition, it results in an inconsistent behavior in Subquity and curtin; causing errors during partitioning such as:
Exception: primary partition cannot have number 7
primary partition cannot have number 7
Related branches
~ogayot/curtin:flag-logical+swap
Merged
into
curtin:master
- Dan Bungert: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 54 lines (+27/-1)2 files modifiedcurtin/commands/block_meta_v2.py (+13/-1)
tests/unittests/test_commands_block_meta.py (+14/-0)
Changed in subiquity: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /github. com/canonical/ subiquity/ pull/1669