|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 10/36] preseed_create: Workaround fail grub-install on arndale
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 <anthony.perard@xxxxxxxxxx>
---
Osstest/Debian.pm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/Osstest/Debian.pm b/Osstest/Debian.pm
index 36c05551..98b2fc86 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'}) {
--
Anthony PERARD
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |