mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-05-11 19:01:31 +00:00
ubuntu-cpc: Install grub in ppc64el images so they are bootable (LP: #1538610)
This commit is contained in:
parent
fd9a4dc0ba
commit
009aca99d8
7
debian/changelog
vendored
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
|
livecd-rootfs (2.209.7) trusty; urgency=medium
|
||||||
|
|
||||||
[Ben Howard]
|
[Ben Howard]
|
||||||
|
@ -40,6 +40,11 @@ EOF
|
|||||||
--boot-directory=/boot \
|
--boot-directory=/boot \
|
||||||
--target=powerpc-ieee1275
|
--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
|
umount_partition mountpoint
|
||||||
rmdir mountpoint
|
rmdir mountpoint
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user