live-build doesn't work with multi-part initrds
Bug #1778811 reported by
Adam Conrad
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
live-build (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Trusty |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Due to attempts to treat initrds as single compressed files (both for recompression, and in the lesser-used codepath for hunting through the initrd to find a file), multi-part initrds cause live-build to fail.
Proposed fix is to let initramfs-tools do the heavy lifting, by setting COMPRESS for generating initrds, and by using unmkinitramfs to unpack them and look around for stuff.
[Test Case]
A livefs build of a -proposed bionic image should generate a working initrd. To test this a new bionic build on cdimage should be started. The build should succeed and generate a working image.
[Regression Potential]
The initrds are empty right now so it can't get any worse than this.
To post a comment you must log in.
Status changed to 'Confirmed' because the bug affects multiple users.