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

ubuntu/yakkety
Daniel Watkins 9 years ago
parent d97134679d
commit 319e3668b9

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

Loading…
Cancel
Save