bottlerocket-os/bottlerocket-sdk

grub-bios-setup should be included in the SDK

bcressey opened this issue · 1 comments

Image I'm using:
v0.41.0

Issue or Feature Request:
Currently the GRUB package builds the install tools for the host architecture. Then rpm2img runs grub-bios-setup using that binary.

This will break when GRUB is moved into a kit, because the build host that built the kit might not be the same architecture as the one where the kit is ultimately used to create an image.

To resolve this, we should include grub-bios-setup built for the host architecture in the SDK.

Most of the GRUB patches we carry won't be needed for this build, but at least this one is required:
https://github.com/bottlerocket-os/bottlerocket/blob/develop/packages/grub/0048-add-flag-to-only-search-root-dev.patch