Bug 1227464 - Please subpackage the grub binaries into grub2-bin
Summary: Please subpackage the grub binaries into grub2-bin
Status: NEW
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Bootloader (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Bootloader Maintainers
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-06 18:50 UTC by Daan De Meyer
Modified: 2024-07-17 05:24 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.