Install inotify-tools along with grub-btrfs when using grub with btrfs config#3656
Install inotify-tools along with grub-btrfs when using grub with btrfs config#3656svartkanin merged 1 commit intoarchlinux:masterfrom
Conversation
|
as for me, you need to install these packages if Btrfs is selected, because for others it is just an extra garbage package |
Yes, archinstall only installs grub-btrfs if you select both the btrfs option and the GRUB option, but grub-btrfs alone is incomplete without inotify-tools. So inotify-tools isn't a garbage package for non-btrfs users because they don't get grub-btrfs and related packages in the first place. |
|
why do you need grub-btrfs at all if they use a different bootloader? |
I think you misunderstood me. What I mean is that if you select any other bootloader during the archinstall setup, grub-btrfs won't get installed. It's only for those who select btrfs in disk partitioning section, and grub in the bootloader section. But the problem is that grub-btrfs doesn't work properly without inotify-tools. So this has nothing to do with those who use a different bootloader. Adding this fix to archinstall won't affect non-grub users in any way. Current behavior: Only people who who choose btrfs+grub get grub-btrfs, but grub-btrfs requires inotify-tools to work which archinstall doesn't install. Suggested behavior: Just add inotify-tools next to the grub-btrfs line, so people who choose to get grub-btrfs, actually get a fully functional grub-btrfs. (That's a lot of GRUBs and BTRFSs lol) |
|
From the repository installation guide https://github.com/Antynea/grub-btrfs?tab=readme-ov-file#arch-linux it explicitly uses only |
|
Right, in the package metadata https://archlinux.org/packages/extra/any/grub-btrfs/ it specifies
So I suppose we do need it |
PR Description:
archinstall currently only installs timeshift and grub-btrfs when btrfs+grub configurations are detected. But grub-btrfs require inotify-tools to work and the systemd service fails to start without it. This commit just adds the inotify-tools package.
Tests and Checks