From ff3768b1d0a8098b0472406096a2e939777c4391 Mon Sep 17 00:00:00 2001 From: Michel Normand Date: Fri, 8 Mar 2019 19:17:35 +0100 Subject: [PATCH] grub2-install parm set to /dev/vda1 for PowerPC Signed-off-by: Michel Normand --- tests/_advisory_update.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/_advisory_update.pm b/tests/_advisory_update.pm index e2228af1..5aff59ab 100644 --- a/tests/_advisory_update.pm +++ b/tests/_advisory_update.pm @@ -17,7 +17,8 @@ sub run { # in openQA: x86_64, ppc64le, and aarch64. assert_script_run "dracut -f"; assert_script_run 'grub2-mkconfig -o $(readlink -m /etc/grub2.cfg)'; - assert_script_run "grub2-install /dev/vda" unless (get_var("UEFI")); + my $instdev = get_var("OFW") ? '/dev/vda1' : '/dev/vda'; + assert_script_run "grub2-install $instdev" unless (get_var("UEFI")); } # reboot, in case any of the updates need a reboot to apply script_run "reboot", 0;