[Buildroot] Grub2

Erico Nunes nunes.erico at gmail.com
Fri Jun 2 11:37:17 UTC 2017


Hi Steve,

On Fri, Jun 2, 2017 at 5:11 AM,  <skenton at ou.edu> wrote:
> A while back I tripped over a bug in Grub2 2.00 that sometimes made my
> embedded system unbootable so I've been running with the code fragment
> below in my build script. It still works with 2017.05 release FYI.
>
> It builds just fine for me on x86_64 glibc but is not a general drop in
> because gfxterm_background and probably other commands which were built
> into the grub2 core in 2.00 are modules in 2.02 and required adjustments
> to my embedded modules list. What is the best way to upgrade versions in
> this sort of situation?
>
> Steve Kenton
>
> # To work around package bugs slip stream grub2
> sed --in-place 's/2.00/2.02/' $buildrootdir/boot/grub2/grub2.mk
> # Remove the hash file(s) to fool buildroot
> rm --force $buildrootdir/boot/grub2/grub2.hash
> $buildrootdir/boot/grub2/*.patch

I have a patchset sitting in patchwork to bump grub2 and then do more
things like ARM support:
https://patchwork.ozlabs.org/project/buildroot/list/?submitter=46481&state=&q=grub2&archive=&delegate=

Hopefully now that 2017.05 is finished it can get some attention.
If you can test that patch set and provide some review/tested-by to
the patches, maybe we can get it merged (or respinned, if needed)
faster.

Thanks

Erico



More information about the buildroot mailing list