Linutronix / elbe

Embedded Linux Build Environment
https://elbe-rfs.org
GNU General Public License v3.0
165 stars 59 forks source link

Support GRUB 2.06 #312

Closed fmg-dave closed 2 years ago

fmg-dave commented 2 years ago

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.

bgermann commented 2 years ago

Please add the Pull Request description as commit message. Please add your Signed-off-by to allow integrating the patches licensed under Elbe's license. We usually send patches to the elbe-devel@linutronix.de mailing list but I can forward your signed-off patches if you do not want to post them there.

fmg-dave commented 2 years ago

Please take a look and let me know if it is correct now.

bgermann commented 2 years ago

Please drop all the changes except the explicit target. The other ones break hdimg and are only cosmetic. If you want you can add version 206 and a mapping from 206 to 202 in commands/hdimg.py. You have not added the Pull Request description as commit message yet.

fmg-dave commented 2 years ago

Done

bgermann commented 2 years ago

Forwarded to https://lists.linutronix.de/pipermail/elbe-devel/2021-October/005491.html