Merge lp:~oddbloke/livecd-rootfs/minimized-skips into lp:livecd-rootfs

Proposed by Dan Watkins
Status: Merged
Merged at revision: 1643
Proposed branch: lp:~oddbloke/livecd-rootfs/minimized-skips
Merge into: lp:livecd-rootfs
Diff against target: 74 lines (+34/-0)
4 files modified
debian/changelog (+7/-0)
live-build/ubuntu-cpc/hooks/040-vmdk-image.binary (+9/-0)
live-build/ubuntu-cpc/hooks/041-vmdk-ova-image.binary (+9/-0)
live-build/ubuntu-cpc/hooks/042-vagrant.binary (+9/-0)
To merge this branch: bzr merge lp:~oddbloke/livecd-rootfs/minimized-skips
Reviewer Review Type Date Requested Status
Steve Langasek Approve
Review via email: mp+341758@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) :
review: Approve
1643. By Steve Langasek

Merge lp:~daniel-thewatkins/livecd-rootfs/minimized-skips

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2018-03-16 18:38:22 +0000
3+++ debian/changelog 2018-03-20 18:31:42 +0000
4@@ -1,3 +1,10 @@
5+livecd-rootfs (2.512) bionic; urgency=medium
6+
7+ * ubuntu-cpc: When performing a minimized build, don't generate artifacts
8+ that won't boot with the linux-kvm kernel (LP: #1757223).
9+
10+ -- Daniel Watkins <daniel.watkins@canonical.com> Tue, 20 Mar 2018 13:42:50 -0400
11+
12 livecd-rootfs (2.511) bionic; urgency=medium
13
14 * Whitelist preserving "unowned" /var/log/journal. Maybe systemd package
15
16=== modified file 'live-build/ubuntu-cpc/hooks/040-vmdk-image.binary'
17--- live-build/ubuntu-cpc/hooks/040-vmdk-image.binary 2018-02-05 15:37:52 +0000
18+++ live-build/ubuntu-cpc/hooks/040-vmdk-image.binary 2018-03-20 18:31:42 +0000
19@@ -3,6 +3,15 @@
20 #
21 # Generate VMDK files
22
23+case ${SUBPROJECT:-} in
24+ minimized)
25+ echo "Skipping minimized $0 build as images won't boot with linux-kvm"
26+ exit 0
27+ ;;
28+ *)
29+ ;;
30+esac
31+
32 case $ARCH in
33 amd64) ;;
34 *) echo "VMDK images are not supported for $ARCH yet.";
35
36=== modified file 'live-build/ubuntu-cpc/hooks/041-vmdk-ova-image.binary'
37--- live-build/ubuntu-cpc/hooks/041-vmdk-ova-image.binary 2018-02-05 15:37:52 +0000
38+++ live-build/ubuntu-cpc/hooks/041-vmdk-ova-image.binary 2018-03-20 18:31:42 +0000
39@@ -9,6 +9,15 @@
40 #
41 # For this step, we re-use the VMDK's made in 040-vmdk-image.binary
42
43+case ${SUBPROJECT:-} in
44+ minimized)
45+ echo "Skipping minimized $0 build as images won't boot with linux-kvm"
46+ exit 0
47+ ;;
48+ *)
49+ ;;
50+esac
51+
52
53 # Switch on $ARCH to determine which ID and description to use in the produced
54 # OVF. We have fancy Ubuntu-specific IDs in the OVF specification, we might as
55
56=== modified file 'live-build/ubuntu-cpc/hooks/042-vagrant.binary'
57--- live-build/ubuntu-cpc/hooks/042-vagrant.binary 2018-02-05 15:37:52 +0000
58+++ live-build/ubuntu-cpc/hooks/042-vagrant.binary 2018-03-20 18:31:42 +0000
59@@ -15,6 +15,15 @@
60 # some packages in it, convert it to a vmdk, and then assemble the vagrant
61 # box.
62
63+case ${SUBPROJECT:-} in
64+ minimized)
65+ echo "Skipping minimized $0 build as images won't boot with linux-kvm"
66+ exit 0
67+ ;;
68+ *)
69+ ;;
70+esac
71+
72 case $IMAGE_TARGETS in
73 ""|*vagrant*)
74 ;;

Subscribers

People subscribed via source and target branches