Curtin doesn't handle type:mount entries without 'path' element
Bug #1892242 reported by
Boroczki, Lajos
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Committed
|
Undecided
|
Unassigned | ||
curtin (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
New
|
Medium
|
Unassigned | ||
Focal |
New
|
Medium
|
Unassigned | ||
Groovy |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The following line fails on swap partitions, because their type is mount, but their path is not defined.
Related branches
~raharper/curtin:fix/uefi-mount-check-fails-no-path
Merged
into
curtin:master
- Paride Legovini: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 30 lines (+7/-1)2 files modifiedcurtin/commands/curthooks.py (+1/-1)
tests/unittests/test_curthooks.py (+6/-0)
summary: |
- Curtin doesn't handle swap partitions properly + Curtin doesn't handle type:mount entries without 'path' element |
Changed in curtin: | |
status: | New → In Progress |
tags: | added: seg sts |
To post a comment you must log in.
Thank you for filing a bug.
> The following line fails on swap partitions, because their type is mount, but their path is not defined
Right, it doesn;t have to be swap, but rather any type: mount which does not include a 'path' element.
The schema for type:mount does not require path so the line you mentioned needs fixing.
Thanks!