Re: [PATCH 2/3] dracut-functions: info which udev rules are skipped

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/05/2010 09:08 AM, Amadeusz Żołnowski wrote:
I found it useful.  Maybe help others debugging.
---
  dracut-functions |    5 +++--
  1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/dracut-functions b/dracut-functions
index 9c2999a..0caf0d6 100755
--- a/dracut-functions
+++ b/dracut-functions
@@ -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
  }


pushed
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux