Merge lp:~daniel-thewatkins/livecd-rootfs/ppc64el into lp:livecd-rootfs

Proposed by Dan Watkins on 2016-01-28
Status: Merged
Merged at revision: 1268
Proposed branch: lp:~daniel-thewatkins/livecd-rootfs/ppc64el
Merge into: lp:livecd-rootfs
Diff against target: 45 lines (+17/-2)
3 files modified
debian/changelog (+9/-0)
live-build/ubuntu-cpc/hooks/034-disk-image-ppc64el.binary (+7/-1)
live-build/ubuntu-cpc/hooks/999-extras.binary (+1/-1)
To merge this branch: bzr merge lp:~daniel-thewatkins/livecd-rootfs/ppc64el
Reviewer Review Type Date Requested Status
Colin Watson 2016-01-28 Approve on 2016-01-28
Review via email: mp+284229@code.launchpad.net
To post a comment you must log in.
1269. By Dan Watkins on 2016-01-28

Specify a regex to run-parts so that cloud image extra scripts are found
and executed.

Colin Watson (cjwatson) :
review: Approve

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 2016-01-27 16:33:28 +0000
3+++ debian/changelog 2016-01-28 10:07:42 +0000
4@@ -1,3 +1,12 @@
5+livecd-rootfs (2.373) UNRELEASED; urgency=medium
6+
7+ * Set timeout options so ppc64el cloud images don't display a grub boot
8+ menu (matching the behaviour of other cloud images).
9+ * Specify a regex to run-parts so that cloud image extra scripts are found
10+ and executed.
11+
12+ -- Daniel Watkins <daniel.watkins@canonical.com> Thu, 28 Jan 2016 09:32:36 +0000
13+
14 livecd-rootfs (2.372) xenial; urgency=medium
15
16 * Install grub in ppc64el cloud images so they are bootable (LP: #1538610)
17
18=== modified file 'live-build/ubuntu-cpc/hooks/034-disk-image-ppc64el.binary'
19--- live-build/ubuntu-cpc/hooks/034-disk-image-ppc64el.binary 2016-01-27 15:49:05 +0000
20+++ live-build/ubuntu-cpc/hooks/034-disk-image-ppc64el.binary 2016-01-28 10:07:42 +0000
21@@ -30,7 +30,13 @@
22 mkdir -p mountpoint/etc/default/grub.d
23 cat << EOF > mountpoint/etc/default/grub.d/50-cloudimg-settings.cfg
24 ${CLOUD_IMG_STR}
25-#
26+
27+# Set the recordfail timeout
28+GRUB_RECORDFAIL_TIMEOUT=0
29+
30+# Do not wait on grub prompt
31+GRUB_TIMEOUT=0
32+
33 # Set the default commandline
34 GRUB_CMDLINE_LINUX_DEFAULT="console=hvc0 earlyprintk"
35 EOF
36
37=== modified file 'live-build/ubuntu-cpc/hooks/999-extras.binary'
38--- live-build/ubuntu-cpc/hooks/999-extras.binary 2016-01-19 02:58:50 +0000
39+++ live-build/ubuntu-cpc/hooks/999-extras.binary 2016-01-28 10:07:42 +0000
40@@ -12,4 +12,4 @@
41 . /build/config/functions
42
43 # Cleaner execution
44-/bin/run-parts ${extra_d}
45+/bin/run-parts --regex ".*\.binary" "${extra_d}"

Subscribers

People subscribed via source and target branches