← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1730642] Re: Support generating a rootfs tree only

 

This bug was fixed in the package livecd-rootfs - 2.408.24

---------------
livecd-rootfs (2.408.24) xenial; urgency=medium

  * For the IMAGEFORMAT=none parts to work for ubuntu-image classic builds, we
    need to make sure IMAGEFORMAT is preserved and not overwritten if defined.
    Backporting from artful.

livecd-rootfs (2.408.23) xenial; urgency=medium

  [ Gary Wang ]
  * Add the IMAGEFORMAT=none to support generating a single rootfs
    (LP: #1730642)

  [ Christopher Glass (Ubuntu) ]
  * Backport "minimized round 2" changes from trunk to Xenial (LP: #1731492)
  * Remove apt, debconf, dpkg cruft files from /var/cache and /var/lib in
    all our livefses.
  * Pass --cache false to lb config; otherwise we copy around caches of
    .debs that are never used properly, and which prevent us from emptying
    /var/cache/apt in images.
  * When building minimized cloud images, remove various packages that we
    don't want installed by default.  Some are tools that aren't needed for
    non-interactive use; some are libraries whose reverse-dependencies
    will have already been removed; and one, open-vm-tools, should only be
    included in images that are targeted to VMWare (which is not the case
    for any of the current minimal images), rather than being included
    directly in the cloud-image seed.

 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@xxxxxxxxxx>  Tue, 21 Nov
2017 17:01:14 +0100

** Changed in: livecd-rootfs (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1730642

Title:
  Support generating a rootfs tree only

Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Xenial:
  Fix Released
Status in livecd-rootfs source package in Zesty:
  Fix Committed
Status in livecd-rootfs source package in Artful:
  Fix Released

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="ubuntu-cpc" ARCH=amd64 IMAGEFORMAT=none SUITE=<SERIES> lb config
   * sudo 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
   * 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1730642/+subscriptions


References