group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #22378
[Bug 1757223] Re: ubuntu-cpc: Don't build minimized artifacts that won't boot with linux-kvm
** Also affects: livecd-rootfs (Ubuntu Xenial)
Importance: Undecided
Status: New
** Changed in: livecd-rootfs (Ubuntu)
Status: New => Fix Committed
** Changed in: livecd-rootfs (Ubuntu Xenial)
Status: New => In Progress
--
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 Committed
Status in livecd-rootfs source package in Xenial:
Fix Committed
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