Silvan Calarco
89473df6b9
added patch to fix udevdir detection causing all udev rules to be skipped [release 040-1mamba;Tue Nov 11 2014]
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 ]] \
|