Install grub in ppc64el cloud images so they are bootable (LP: #1538610)

ubuntu/yakkety
Daniel Watkins 9 years ago
parent f0e085d7bb
commit ece1f6ccab

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (2.372) UNRELEASED; urgency=medium
* Install grub in ppc64el cloud images so they are bootable (LP: #1538610)
-- Daniel Watkins <daniel.watkins@canonical.com> Wed, 27 Jan 2016 15:47:39 +0000
livecd-rootfs (2.371) xenial; urgency=medium
* Remove unneeded packages from the root.tar.{gz,xz} cloud image targets

@ -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