Bug 1227464

Summary: Please subpackage the grub binaries into grub2-bin
Product: [openSUSE] openSUSE Tumbleweed Reporter: Daan De Meyer <daan.j.demeyer>
Component: BootloaderAssignee: Bootloader Maintainers <bootloader-maintainers>
Status: NEW --- QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: aplanas, mchang
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Daan De Meyer 2024-07-06 18:50:58 UTC
Currently the grub2 package contains both all the grub binaries and configures the system to use grub as the bootloader. As such it correctly conflicts with sdbootutil-rpm-scriptlets, causing failures when trying to install grub2 on a system with systemd-boot already installed.

I want to be able to install the grub binaries without configuring the system to use grub as the bootloader. So please introduce a subpackage grub2-bin or so that contains all the grub binaries (everything from grub in /usr/bin) so that the grub binaries can be installed independently from making the system use grub as the bootloader.
Comment 1 Michael Chang 2024-07-17 05:00:44 UTC
Hi Daan,

If you don't want grub getting in your way, just edit the /etc/sysconfig/bootloader file and set LOADER_TYPE="none". This will stop the system from updating grub when you update grub and kernel packages.

As far as I know, Alberto is working on merging the two packages, sdbootutil-rpm-scriptlets and suse-module-tools-scriptlets, so the conflict would be removed. I've added him to the CC.

Thanks.
Comment 2 Alberto Planas Dominguez 2024-07-17 05:24:15 UTC
sdbootutil-rpm-scriptlets has been merged into suse-module-tools-scriptlets and is under review in the staging projects for a while. This will make grub2 and systemd-boot co-installable.

The landing into Factory is taking too long because a feature in another package that is making openQA fail, but we found a way to move forward.