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@citrix.com>
Acked-by: Roger Pau Monné <roger.pau@citrix.com>
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'}) {