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