5241998eee
It seems that I just can't stop finding weird btrfs setups that break the current script. When you use btrfs with a default subvolume, GRUB will use normal paths, like on ext4. So instead of /@/boot/vmlinuz you have /boot/vmlinuz. The issue is that grub2-mkrelpath doesn't know about that. The script would have to parse the GRUB configuration and fstab, to figure out if btrfs is used with a default subvolume, and then add a flag to the command depending on that. However, instead of adding yet another workaround, let's just forget about grubby and do what we want to do ourselves. Because, as it turns out, not taking a weird detour over the path that GRUB uses to load the kernel makes everything much easier. Since this means that we are dealing with even more filepath and string mangling, I decided to rewrite the script in python. It would work fine in bash, but it would be even more spaghetti code that I don't really want to write. And python is always available in Fedora anyway, because DNF is written in it. |
||
---|---|---|
.. | ||
.gitkeep | ||
0001-iptsd.patch | ||
0002-provides.patch | ||
0003-obsoletes.patch | ||
0004-default-kernel.patch | ||
0005-filter-modules.patch | ||
0006-ipu3-fw.patch |