14 lines
459 B
Diff
14 lines
459 B
Diff
|
--- dracut-040/dracut.sh.orig 2014-11-11 22:39:32.180194759 +0100
|
||
|
+++ dracut-040/dracut.sh 2014-11-11 22:41:23.392285954 +0100
|
||
|
@@ -1198,8 +1198,9 @@
|
||
|
[[ -d $udevdir ]] \
|
||
|
|| udevdir="$(pkg-config udev --variable=udevdir 2>/dev/null)"
|
||
|
if ! [[ -d "$udevdir" ]]; then
|
||
|
- [[ -d /lib/udev ]] && udevdir=/lib/udev
|
||
|
+ [[ -d /lib/udev ]] && udevdir=/lib/udev || {
|
||
|
[[ -d /usr/lib/udev ]] && udevdir=/usr/lib/udev
|
||
|
+ }
|
||
|
fi
|
||
|
|
||
|
[[ -d $systemdutildir ]] \
|