[cpc][ppc64el] apt-get update before installing grub2

This commit is contained in:
Daniel Watkins 2016-06-09 15:48:38 +01:00
parent d97134679d
commit 319e3668b9

View File

@ -26,6 +26,7 @@ install_grub() {
mkdir mountpoint
mount_partition "${rootfs_dev_mapper}" mountpoint
chroot mountpoint apt-get -qqy update
chroot mountpoint apt-get -qqy install grub2
chroot mountpoint apt-get -qqy remove --purge grub-legacy-ec2