Artful verification (package version 2.478.1): $ cp -a `dpkg -L livecd-rootfs | grep "auto$"` . $ sudo PROJECT="ubuntu-cpc" ARCH=amd64 IMAGEFORMAT=none SUITE=artful ARCH=amd64 lb config [2017-11-15 11:29:05] lb_config P: Executing auto/config script. Building on amatsu [2017-11-15 11:29:05] lb_config noauto --mode ubuntu --distribution artful --bootstrap-keyring ubuntu-keyring --binary-images none --memtest none --source false --build-with-chroot false --apt-source-archives false --linux-flavours virtual --initsystem none --bootloader none --initramfs-compression lzma --chroot-filesystem none --initramfs=none --system=normal --hdd-label=cloudimg-rootfs --ext-resize-blocks=536870912 --ext-block-size=4096 --ext-fudge-factor=15 P: Considering defaults defined in /etc/live/build.conf P: Updating config tree for a ubuntu/amd64 system $ sudo PROJECT="ubuntu-cpc" ARCH=amd64 IMAGEFORMAT=none SUITE=artful ARCH=amd64 lb build (...) $ ls chroot/ bin dev home lib media opt root sbin srv tmp var boot etc initrd.img lib64 mnt proc run snap sys usr vmlinuz
The live-build succeeded and resulted in the rootfs in the chroot/ directory (without any final images) as expected. ** Tags removed: verification-needed-artful ** Tags added: verification-done-artful ** Description changed: [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$"` . - * PROJECT="ubuntu-cpc" ARCH=amd64 IMAGEFORMAT=none lb config - * PROJECT="ubuntu-cpc" ARCH=amd64 IMAGEFORMAT=none lb build - * Make sure the build succeeds and that the current directory will have a chroot/ with the build rootfs contents + * Install livecd-rootfs from -proposed + * Create a temporary directory, cd into it + * cp -a `dpkg -L livecd-rootfs | grep "auto$"` . + * PROJECT="ubuntu-cpc" ARCH=amd64 IMAGEFORMAT=none SUITE=<SERIES> lb config + * PROJECT="ubuntu-cpc" ARCH=amd64 IMAGEFORMAT=none SUITE=<SERIES> lb build + * Make sure the build succeeds and that the current directory will have a chroot/ with the build rootfs contents [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. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1730642 Title: Support generating a rootfs tree only To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1730642/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs