ubuntu-cpc: Install grub in ppc64el images so they are bootable (LP: #1538610)

ubuntu/trusty
Robert C Jennings 8 years ago
parent fd9a4dc0ba
commit 009aca99d8

7
debian/changelog vendored

@ -1,3 +1,10 @@
livecd-rootfs (2.209.8) trusty; urgency=medium
[Daniel Watkins]
* Install grub in ppc64el cloud images so they are bootable (LP: #1538610)
-- Robert C Jennings <robert.jennings@canonical.com> Tue, 23 May 2017 20:51:47 -0500
livecd-rootfs (2.209.7) trusty; urgency=medium
[Ben Howard]

@ -40,6 +40,11 @@ EOF
--boot-directory=/boot \
--target=powerpc-ieee1275
chroot mountpoint dpkg-divert --local --rename /etc/grub.d/30_os-prober
chroot mountpoint update-grub
sed -i "s,root=.* ,root=LABEL=cloudimg-rootfs ,g" mountpoint/boot/grub/grub.cfg
chroot mountpoint dpkg-divert --remove --local --rename /etc/grub.d/30_os-prober
umount_partition mountpoint
rmdir mountpoint
}

Loading…
Cancel
Save