From 1deb0c68e8be6b06190402e32292c3c55134eee2 Mon Sep 17 00:00:00 2001 From: Robert C Jennings Date: Wed, 12 Aug 2020 13:38:07 -0500 Subject: [PATCH] ubuntu-cpc: Fix ppc64el grub console update The commit 6dbb30f5 (2.682) which disabled boot splash for all cloud images introduced an error in the ppc64el hook. This patch corrects the name of the variable that contains grub console overrides. The error seen during testing was 'disk-image-ppc64el.binary: line 44: CONSOLES: unbound variable' and this was due to a typo. --- live-build/ubuntu-cpc/hooks.d/base/disk-image-ppc64el.binary | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/live-build/ubuntu-cpc/hooks.d/base/disk-image-ppc64el.binary b/live-build/ubuntu-cpc/hooks.d/base/disk-image-ppc64el.binary index d6a7f9ac..48f99560 100755 --- a/live-build/ubuntu-cpc/hooks.d/base/disk-image-ppc64el.binary +++ b/live-build/ubuntu-cpc/hooks.d/base/disk-image-ppc64el.binary @@ -35,7 +35,7 @@ install_grub() { chroot mountpoint apt-get -qqy remove --purge grub-legacy-ec2 # set the kernel commandline to use hvc0 - CONSOLE="console=hvc0 earlyprintk" + CONSOLES="console=hvc0 earlyprintk" # Append to the existing GRUB_CMDLINE_LINUX_DEFAULT line if [ ! -f mountpoint/etc/default/grub.d/50-cloudimg-settings.cfg ]; then echo "Expected to find an existing grub config override"