From 4bfb5a044b8fda4c60b129db940856f7304f4e91 Mon Sep 17 00:00:00 2001 From: Anthony PERARD Date: Mon, 16 Oct 2023 16:05:42 +0100 Subject: [PATCH] preseed_create: Workaround fail grub-install on arndale MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit grub-installer on arndale-* machine fails with Debian Bookworm. It tries to install "grub-pc" which doesn't exist. Skip installation. Somehow, cubietruck-* installation works fine. Signed-off-by: Anthony PERARD Acked-by: Roger Pau Monné --- Osstest/Debian.pm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm index 36c0555..98b2fc8 100644 --- a/Osstest/Debian.pm +++ b/Osstest/Debian.pm @@ -1581,6 +1581,14 @@ chmod +x /target/$t END } + if ( $ho->{Flags}{'need-uboot-bootscr'} && + $ho->{Suite} =~ m/bookworm/) { + + # grub-installer fails on the arndale machine, it's trying to install + # "grub-pc" which doesn't exist. Skip installation. + $preseed_file .= "d-i grub-installer/skip boolean true\n"; + } + $preseed_file .= preseed_hook_cmds(); if ($backports_kernel || $ho->{Flags}{'no-di-kernel'}) { -- 2.39.5