From 319e3668b9690414fb998338197525a354072ece Mon Sep 17 00:00:00 2001 From: Daniel Watkins Date: Thu, 9 Jun 2016 15:48:38 +0100 Subject: [PATCH] [cpc][ppc64el] apt-get update before installing grub2 --- live-build/ubuntu-cpc/hooks/034-disk-image-ppc64el.binary | 1 + 1 file changed, 1 insertion(+) diff --git a/live-build/ubuntu-cpc/hooks/034-disk-image-ppc64el.binary b/live-build/ubuntu-cpc/hooks/034-disk-image-ppc64el.binary index d085ba38..d8c6cd3a 100755 --- a/live-build/ubuntu-cpc/hooks/034-disk-image-ppc64el.binary +++ b/live-build/ubuntu-cpc/hooks/034-disk-image-ppc64el.binary @@ -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