dos ptable & storage ver 1: swap flag not handled
Bug #2004609 reported by
rp
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
Confirmed
|
Undecided
|
Unassigned | ||
curtin (Ubuntu) |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
Using a "Custom storage layout", if a swap partition is added, it gets installed with type 83 instead of 82. Some of our later processes fail since they depend on the swap partition having type 82.
Related branches
~dbungert/curtin:lp-2004609-swap-size-dropped
Merged
into
curtin:master
- Server Team CI bot: Approve (continuous-integration)
- Michael Hudson-Doyle: Approve
-
Diff: 138 lines (+77/-6)4 files modifiedcurtin/commands/block_meta.py (+5/-3)
curtin/swap.py (+3/-3)
tests/integration/test_block_meta.py (+13/-0)
tests/unittests/test_commands_block_meta.py (+56/-0)
summary: |
- dos ptable: dropping swap size, resulting in no swap setup + dos ptable & storage ver 1: swap flag not handled |
Changed in curtin (Ubuntu): | |
status: | Confirmed → Fix Committed |
To post a comment you must log in.
We'll need a little more information than that. Version used, logs, all the normal stuff please.
I see that curtin is using type 82 when creating swap partitions so from this description there isn't anything I can tell you.