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

Proposed by Dan Watkins on 2016-01-27
Status: Merged
Merged at revision: 1266
Proposed branch: lp:~daniel-thewatkins/livecd-rootfs/ppc64el
Merge into: lp:livecd-rootfs
Diff against target: 29 lines (+11/-0)
2 files modified
debian/changelog (+6/-0)
live-build/ubuntu-cpc/hooks/034-disk-image-ppc64el.binary (+5/-0)
To merge this branch: bzr merge lp:~daniel-thewatkins/livecd-rootfs/ppc64el
Reviewer Review Type Date Requested Status
Colin Watson 2016-01-27 Approve on 2016-01-27
Review via email: mp+284152@code.launchpad.net
To post a comment you must log in.
Dan Watkins (daniel-thewatkins) wrote :

This needs an additional tweak; working on it now.

Colin Watson (cjwatson) :
review: Approve
1266. By Colin Watson on 2016-01-27

[r=cjwatson] Install grub in ppc64el cloud images so they are bootable (LP: #1538610)

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-19 12:50:45 +0000
3+++ debian/changelog 2016-01-27 16:29:31 +0000
4@@ -1,3 +1,9 @@
5+livecd-rootfs (2.372) UNRELEASED; urgency=medium
6+
7+ * Install grub in ppc64el cloud images so they are bootable (LP: #1538610)
8+
9+ -- Daniel Watkins <daniel.watkins@canonical.com> Wed, 27 Jan 2016 15:47:39 +0000
10+
11 livecd-rootfs (2.371) xenial; urgency=medium
12
13 * Remove unneeded packages from the root.tar.{gz,xz} cloud image targets
14
15=== modified file 'live-build/ubuntu-cpc/hooks/034-disk-image-ppc64el.binary'
16--- live-build/ubuntu-cpc/hooks/034-disk-image-ppc64el.binary 2015-11-06 09:54:59 +0000
17+++ live-build/ubuntu-cpc/hooks/034-disk-image-ppc64el.binary 2016-01-27 16:29:31 +0000
18@@ -40,6 +40,11 @@
19 --boot-directory=/boot \
20 --target=powerpc-ieee1275
21
22+ chroot mountpoint dpkg-divert --local --rename /etc/grub.d/30_os-prober
23+ chroot mountpoint update-grub
24+ sed -i "s,root=.* ,root=LABEL=cloudimg-rootfs ,g" mountpoint/boot/grub/grub.cfg
25+ chroot mountpoint dpkg-divert --remove --local --rename /etc/grub.d/30_os-prober
26+
27 umount_partition mountpoint
28 rmdir mountpoint
29 }

Subscribers

People subscribed via source and target branches