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
=== modified file 'debian/changelog'
--- debian/changelog 2018-03-16 18:38:22 +0000
+++ debian/changelog 2018-03-20 18:31:42 +0000
@@ -1,3 +1,10 @@
1livecd-rootfs (2.512) bionic; urgency=medium
2
3 * ubuntu-cpc: When performing a minimized build, don't generate artifacts
4 that won't boot with the linux-kvm kernel (LP: #1757223).
5
6 -- Daniel Watkins <daniel.watkins@canonical.com> Tue, 20 Mar 2018 13:42:50 -0400
7
1livecd-rootfs (2.511) bionic; urgency=medium8livecd-rootfs (2.511) bionic; urgency=medium
29
3 * Whitelist preserving "unowned" /var/log/journal. Maybe systemd package10 * Whitelist preserving "unowned" /var/log/journal. Maybe systemd package
411
=== modified file 'live-build/ubuntu-cpc/hooks/040-vmdk-image.binary'
--- live-build/ubuntu-cpc/hooks/040-vmdk-image.binary 2018-02-05 15:37:52 +0000
+++ live-build/ubuntu-cpc/hooks/040-vmdk-image.binary 2018-03-20 18:31:42 +0000
@@ -3,6 +3,15 @@
3#3#
4# Generate VMDK files4# Generate VMDK files
55
6case ${SUBPROJECT:-} in
7 minimized)
8 echo "Skipping minimized $0 build as images won't boot with linux-kvm"
9 exit 0
10 ;;
11 *)
12 ;;
13esac
14
6case $ARCH in15case $ARCH in
7 amd64) ;;16 amd64) ;;
8 *) echo "VMDK images are not supported for $ARCH yet.";17 *) echo "VMDK images are not supported for $ARCH yet.";
918
=== modified file 'live-build/ubuntu-cpc/hooks/041-vmdk-ova-image.binary'
--- live-build/ubuntu-cpc/hooks/041-vmdk-ova-image.binary 2018-02-05 15:37:52 +0000
+++ live-build/ubuntu-cpc/hooks/041-vmdk-ova-image.binary 2018-03-20 18:31:42 +0000
@@ -9,6 +9,15 @@
9#9#
10# For this step, we re-use the VMDK's made in 040-vmdk-image.binary10# For this step, we re-use the VMDK's made in 040-vmdk-image.binary
1111
12case ${SUBPROJECT:-} in
13 minimized)
14 echo "Skipping minimized $0 build as images won't boot with linux-kvm"
15 exit 0
16 ;;
17 *)
18 ;;
19esac
20
1221
13# Switch on $ARCH to determine which ID and description to use in the produced22# Switch on $ARCH to determine which ID and description to use in the produced
14# OVF. We have fancy Ubuntu-specific IDs in the OVF specification, we might as23# OVF. We have fancy Ubuntu-specific IDs in the OVF specification, we might as
1524
=== modified file 'live-build/ubuntu-cpc/hooks/042-vagrant.binary'
--- live-build/ubuntu-cpc/hooks/042-vagrant.binary 2018-02-05 15:37:52 +0000
+++ live-build/ubuntu-cpc/hooks/042-vagrant.binary 2018-03-20 18:31:42 +0000
@@ -15,6 +15,15 @@
15# some packages in it, convert it to a vmdk, and then assemble the vagrant15# some packages in it, convert it to a vmdk, and then assemble the vagrant
16# box.16# box.
1717
18case ${SUBPROJECT:-} in
19 minimized)
20 echo "Skipping minimized $0 build as images won't boot with linux-kvm"
21 exit 0
22 ;;
23 *)
24 ;;
25esac
26
18case $IMAGE_TARGETS in27case $IMAGE_TARGETS in
19 ""|*vagrant*)28 ""|*vagrant*)
20 ;;29 ;;

Subscribers

People subscribed via source and target branches