Public bug reported: 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. ** Affects: livecd-rootfs (Ubuntu) Importance: Undecided Assignee: Dan Watkins (daniel-thewatkins) Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1757223 Title: ubuntu-cpc: Don't build minimized artifacts that won't boot with linux-kvm To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1757223/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs