Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1782919 - Don't install bootloader binaries on petitboot-based Power systems
Summary: Don't install bootloader binaries on petitboot-based Power systems
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: anaconda
Version: rawhide
Hardware: ppc64le
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Anaconda Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PPCTracker
TreeView+ depends on / blocked
 
Reported: 2019-12-12 16:17 UTC by Adam Williamson
Modified: 2021-06-18 07:18 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 188033 0 None None None 2020-09-04 14:18:46 UTC

Description Adam 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}.

Comment 1 Michel Normand 2021-03-09 17:02:26 UTC
Hello Dan, do you know who is supposed to work on the above ?

Comment 2 Dan Horák 2021-03-10 08:29:26 UTC
Hi Michel, I think no one is working on this right now, but I don't know for sure whether this part hasn't already been fixed. Probably not yet. It might be as simple as overriding "packages" (https://github.com/rhinstaller/anaconda/blob/master/pyanaconda/modules/storage/bootloader/grub2.py#L103) in the PowerNVGrub2 class ...


Note You need to log in before you can comment on or make changes to this bug.