Message ID | 20240318165545.3898-11-anthony.perard@citrix.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Switch to Debian Bookworm | expand |
On Mon, Mar 18, 2024 at 04:55:19PM +0000, Anthony PERARD wrote: > 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. I'm kind of puzzled by this, as cubietruck and arndales are both armhf IIRC? (IOW: they should use the same repo?) Does the install of grub-pc succeed on the cubietruck, or is skipped for some other reason that doesn't require us to intervene? Thanks, Roger.
On Wed, Mar 20, 2024 at 05:38:17PM +0100, Roger Pau Monné wrote: > On Mon, Mar 18, 2024 at 04:55:19PM +0000, Anthony PERARD wrote: > > 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. > > I'm kind of puzzled by this, as cubietruck and arndales are both armhf > IIRC? (IOW: they should use the same repo?) > > Does the install of grub-pc succeed on the cubietruck, or is skipped > for some other reason that doesn't require us to intervene? It's skipped. The difference I can see is that, on the cubietruck, there's an extra step. And it's due to this extra logging: debconf: --> METAGET debian-installer/flash-kernel-installer/title Description debconf: <-- 0 Make the system bootable On the cubietruck, there would be these installation step: ..., Select and install software, Make the system bootable, Install the GRUB boot loader, ... But on the arndale, it would be instead: ..., Select and install software, Install the GRUB boot loader, ... Somehow, flash-kernel-installer does something different on both machine. Thanks,
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'}) {
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> --- Osstest/Debian.pm | 8 ++++++++ 1 file changed, 8 insertions(+)