dracut/use_all_paths_udev.patch
2013-07-18 11:45:24 +00:00

12 lines
518 B
Diff

--- dracut-029_git201307171236.orig/dracut-functions.sh
+++ dracut-029_git201307171236/dracut-functions.sh
@@ -955,7 +955,7 @@ inst_rules() {
inst_dir "$_target"
for _rule in "$@"; do
if [ "${_rule#/}" = "$_rule" ]; then
- for r in ${udevdir}/rules.d /etc/udev/rules.d; do
+ for r in ${udevdir}/rules.d lib/udev/rules.d /etc/udev/rules.d; do
if [[ -f $r/$_rule ]]; then
_found="$r/$_rule"
inst_rule_programs "$_found"