DescriptionAdam Williamson
2019-12-12 16:17:52 UTC
This bug is a continuation of https://bugzilla.redhat.com/show_bug.cgi?id=1303219#c4 onwards. As explained there:
"POWER/OpenPOWER machines running the OPAL firmware create a new class of "powerpc" hardware that doesn't need the PReP partition as it uses petitboot as the bootloader. Petitboot reads bootloader configs (eg. grub.conf) from the disks directly. Both physical HW and qemu/KVM virtual machines (work in progress) can be PowerNV. The advantages are more flexible storage layout and being closer to x86."
The basic support has been implemented in https://github.com/storaged-project/blivet/pull/782 and https://github.com/rhinstaller/anaconda/pull/2025 , but Danny says:
"In addition to these we need to loosen the grub-install requirement for the bootloader partition, or rather not do install any grub binaries on PowerNV...My experiment shows, that the actual bootloader binaries are really not required, but we need grubby plus its dependencies (grub2-{common,tools}) to refresh grub.conf on kernel installs/removals."
This bug is to cover that: when installing to a petitboot-based Power system, don't install grub binaries, but do install grubby and grub2-{common,tools}.