As noted in earlier commits the grub2 boot image needs to be patched to contain the position of the grub2 core. By default, the location in the boot image is hard-coded to be the mbr gap (sector 1) but for GPT partition schemes a separate BIOS boot partition is used that is located at a "random" location. Refactor the code to generalize the boot image patching, where the default mbr gap location is just a special case of the general. |
||
|---|---|---|
| .. | ||
| org.osbuild.noop | ||
| org.osbuild.qemu | ||
| org.osbuild.rawfs | ||
| org.osbuild.tar | ||
| osbuild | ||