dracut-functions: info which udev rules are skipped

I found it useful.  Maybe help others debugging.
master
Amadeusz Żołnowski 2010-07-05 09:08:47 +02:00 committed by Harald Hoyer
parent 876bd1a2be
commit 5f70a1bd06
1 changed files with 3 additions and 2 deletions

View File

@ -335,8 +335,9 @@ inst_rules() {
inst_dir "/lib/udev/rules.d"
inst_dir "$target"
for rule in "$@"; do
rule=$(find_rule "$rule") && \
inst_simple "$rule" "$target/${rule##*/}"
rule1=$(find_rule "$rule") && \
inst_simple "$rule1" "$target/${rule1##*/}" \
|| dinfo "Skipping udev rule: $rule"
done
}