Support generating a rootfs tree only
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Łukasz Zemczak | ||
Zesty |
Fix Released
|
High
|
Łukasz Zemczak | ||
Artful |
Fix Released
|
High
|
Łukasz Zemczak |
Bug Description
[Impact]
For the use of ubuntu-image classic image generation, it is required that livecd-rootfs supports a way to only generate the rootfs tree for a selected set of arguments (project, architecture etc.). By design ubuntu-image will use livecd-rootfs for preparation of the rootfs contents and then continue with building the image. Since ubuntu-image is backported feature-complete into artful, zesty and xenial, we would need the same change to be propagated to those stable series.
[Test Case]
* Install livecd-rootfs from -proposed
* Create a temporary directory, cd into it
* cp -a `dpkg -L livecd-rootfs | grep "auto$"` .
* sudo PROJECT=
* sudo PROJECT=
* Make sure the build succeeds and that the current directory will have a chroot/ with the build rootfs contents
* Make sure that there config/hooks/ directory has no binary hooks
[Regression Potential]
The proposed change should be self-contained and not affecting any other code paths, but in the case of a very unlikely situation regular image builds could be broken by binary hooks not being executed.
livecd-rootfs (2.480) bionic; urgency=medium
[ Gary Wang ]
* Add the IMAGEFORMAT=none to support generating a single rootfs.
-- Steve Langasek <email address hidden> Mon, 06 Nov 2017 11:12:45 -0800