[elbe-devel] [PATCH] Support GRUB 2.06
Torben Hohn
torben.hohn at linutronix.de
Tue Jan 4 09:33:44 CET 2022
On Fri, Oct 22, 2021 at 11:32:03AM +0200, bage at linutronix.de wrote:
> From: Dave Smith <davidwsmith at fmgl.com.au>
>
> Debian Bullseye has upgraded to GRUB 2.06 and a tweak is required for ELBE
> to support it.
>
> In 2.06 the default target has changed from i386-pc to x86_64-efi. The
> simple solution is to always specify the target and not rely on the default.
Does this mean, we can not support grub on arm now ?
I mean, i am pretty sure, that it does not work. But we should at least
have a plan, how we want to implement arm support.
Just have a map[ arch -> target ] ?
Or do we want/need to specify it via xml file ?
>
> Signed-off-by: Dave Smith <davidwsmith at fmgl.com.au>
> Signed-off-by: Bastian Germann <bage at linutronix.de>
> ---
> elbepack/hdimg.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/elbepack/hdimg.py b/elbepack/hdimg.py
> index d1cc2e28b..696225925 100644
> --- a/elbepack/hdimg.py
> +++ b/elbepack/hdimg.py
> @@ -208,7 +208,7 @@ class grubinstaller202(grubinstaller_base):
> "${f[0]} /boot/efi/EFI/debian/${f[0]%%.signed}'" %
> imagemnt)
> if not self.fw_type or "bios" in self.fw_type:
> - do("chroot %s grub-install --no-floppy %s" %
> + do("chroot %s grub-install --target=i386-pc --no-floppy %s" %
> (imagemnt, poopdev))
>
> except CommandError as E:
> --
> 2.30.2
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
--
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99
Hinweise zum Datenschutz finden Sie hier (Informations on data privacy
can be found here): https://linutronix.de/kontakt/Datenschutz.php
Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen |
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner
More information about the elbe-devel
mailing list