← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1757223] Re: ubuntu-cpc: Don't build minimized artifacts that won't boot with linux-kvm

 

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

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

  * ubuntu-cpc: When performing a minimized build, don't generate artifacts
    that won't boot with the linux-kvm kernel (LP: #1757223).

 -- Daniel Watkins <daniel.watkins@xxxxxxxxxxxxx>  Tue, 20 Mar 2018
12:42:25 -0400

** 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/1757223

Title:
  ubuntu-cpc: Don't build minimized artifacts that won't boot with
  linux-kvm

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

Bug description:
  Currently, the ubuntu-cpc hooks execute for all builds, minimized or
  not.  As minimized images use the linux-kvm kernel, we shouldn't
  produce images for non-KVM platforms.  The hooks that need skipping
  are the ones that produce the VMDK, OVA and Vagrant box.

  Given that livecd-rootfs own the definition of minimized images, it
  should also own defining which images should be produced when a
  minimized build runs.

  [Impact]

  * Increased build time for minimized images
  * Publication of minimized cloud images that cannot possibly boot

  [Test Case]

  Run a minimized livefs build; the .vmdk, .ova and .box files should
  not be produced.  Run a regular livefs build, the .vmdk, .ova and .box
  files should be produced.

  [Regression Potential]

  The changes required are adding conditional "exit 0"s to the hooks in
  question, which aren't used by any other hooks.  The only potential
  regression would be either (a) syntax issues that would manifest
  obviously in a complete failure to build (and therefore cause the Test
  Case to fail), or (b) accidental exclusion of these image types for
  non-minimized builds, which is covered in the Test Case section.

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