Per-partition .img files are no longer created for empty partitions [2.0]
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Image |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Consider the following gadget.yaml snippet from the structure list:
(...)
- name: hyp
size: 1048576
content:
- image: blobs/hyp.mbn
type: E1A6A689-
- name: sec
size: 1048576
type: 303E6AC3-
- name: aboot
size: 2097152
content:
- image: blobs/sd_
type: 400FFDCD-
(...)
The 'sec' partition is filesystem-less and has no 'content' stanza. With the new ubuntu-image 2.0 this partition will not have a partX.img created as our current code only does the dd for when a 'content:' is provided or a filesystem. This will cause such images to fail to build on the makedisk phase, as we'll have no partX.img to copy to the final disk file.
This causes UC18 dragonboard images to FTBFS.
tags: | added: fr-1810 |
Changed in ubuntu-image: | |
status: | New → Fix Committed |
Changed in ubuntu-image: | |
status: | Fix Committed → Fix Released |