]> git.ipfire.org Git - thirdparty/dracut.git/commit
fix(dracut.sh): correct path for UEFI stub on split-usr systems
authorMike Gilbert <floppym@gentoo.org>
Fri, 26 May 2023 23:04:27 +0000 (19:04 -0400)
committerAntonio Álvarez Feijoo <antonio.feijoo@suse.com>
Thu, 8 Jun 2023 06:21:54 +0000 (08:21 +0200)
commitc1588995ae0d9f984ad08f2d466f7a09646c6517
tree28e9610a31fa85930e6f593fd79e5c737303eb7f
parentaa20bbb5b1c78963331fb6261763ea4c51ebc04f
fix(dracut.sh): correct path for UEFI stub on split-usr systems

systemd always installs the UEFI stub in ${prefix}/lib/systemd/boot/efi.

On split-usr systems, systemdutildir is ${rootprefix}/lib/systemd, which
makes dracut look in the wrong place.

Instead, grab 'prefix' from systemd.pc and store it in 'systemd_prefix'.

Bug: https://bugs.gentoo.org/765208
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
dracut.sh