From 78fe4394c10e83306ba6e3016aaa0416373d41cc Mon Sep 17 00:00:00 2001 From: Cody Shepherd Date: Wed, 19 Aug 2020 09:46:36 -0700 Subject: [PATCH] Install grub-legacy-ec2 for all ubuntu-cpc (LP #1888575) --- live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot b/live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot index 56b6950c..b5a8ecd2 100755 --- a/live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot +++ b/live-build/ubuntu-cpc/hooks.d/chroot/999-cpc-fixes.chroot @@ -166,6 +166,10 @@ if [ "${SUBPROJECT:-}" = minimized ]; then _xchroot "${rootd}" apt clean fi +# install grub-legacy-ec2 and ubuntu-server for all ubuntu-cpc for LP: #1888575 +_xchroot "${rootd}" env DEBIAN_FRONTEND=noninteractive \ + apt-get -y install --no-install-recommends grub-legacy-ec2 ubuntu-server + #### END COMMON ARCH FUNCTIONS