Use the new `role` attribute when creating images
Bug #1642914 reported by
Łukasz Zemczak
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Image |
Fix Released
|
High
|
Łukasz Zemczak |
Bug Description
Since now we have the role keyword supported in the parser, we need to get it used in all existing parts of the code. This means handling the StructureRole.mbr instead of type == 'mbr', as well as StructureRole.
Changed in ubuntu-image: | |
milestone: | 0.12 → 0.13 |
Changed in ubuntu-image: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-image: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Your previous branch coerces type=='mbr' to role=mbr so that should be an easy transition. For backward compatibility though, be sure to still handle filesystem_label if role isn't provided.