]> git.ipfire.org Git - thirdparty/dracut.git/commit
dracut.sh: improve udevdir and systemdutildir fallback logic
authorMike Gilbert <floppym@gentoo.org>
Tue, 4 Jul 2017 02:39:42 +0000 (22:39 -0400)
committerHarald Hoyer <harald@hoyer.xyz>
Thu, 5 Jul 2018 11:57:43 +0000 (13:57 +0200)
commit9d1b81c0d1241db9a4f0cb7209fc378411649c49
tree3d82c0f315990c8a817fdd93f8fb4b58bd8da6cb
parente3fb645821d20621c02cea66ecd1b6e32fd5dc6c
dracut.sh: improve udevdir and systemdutildir fallback logic

Check for a common binary in systemdutildir. This resolves an issue on
split-usr systems, where it is common to have both /lib/systemd[/system]
and /usr/lib/systemd[/user] present.

Check for systemd-udevd specifically, since some distros (Gentoo) allow
udev to be installed without the rest of the systemd stack.

Similar logic is applied to udevdir simply for consistency.
dracut.sh