r8544 - in trunk/udev-config: . doc

bryan at linuxfromscratch.org bryan at linuxfromscratch.org
Thu May 22 16:54:28 PDT 2008


Author: bryan
Date: 2008-05-22 17:54:28 -0600 (Thu, 22 May 2008)
New Revision: 8544

Removed:
   trunk/udev-config/81-firmware.rules
   trunk/udev-config/doc/81-firmware.txt
Modified:
   trunk/udev-config/55-lfs.rules
   trunk/udev-config/ChangeLog
   trunk/udev-config/Makefile
Log:
Remove 81-firmware.rules, since its functionality is now included in 50-udev-default.rules.  Remove the custom rule ignoring KERNEL=="device-mapper", since 50-udev-default.rules handles that as well.  (This is more preparation for udev-122.)


Modified: trunk/udev-config/55-lfs.rules
===================================================================
--- trunk/udev-config/55-lfs.rules	2008-05-22 23:53:18 UTC (rev 8543)
+++ trunk/udev-config/55-lfs.rules	2008-05-22 23:54:28 UTC (rev 8544)
@@ -89,7 +89,6 @@
 # udev from creating them
 
 KERNEL=="dm-*",             OPTIONS+="ignore_device"
-KERNEL=="device-mapper",    OPTIONS+="ignore_device"
 
 # Tape devices
 

Deleted: trunk/udev-config/81-firmware.rules
===================================================================
--- trunk/udev-config/81-firmware.rules	2008-05-22 23:53:18 UTC (rev 8543)
+++ trunk/udev-config/81-firmware.rules	2008-05-22 23:54:28 UTC (rev 8544)
@@ -1,3 +0,0 @@
-# /etc/udev/rules.d/27-firmware.rules: Load firmware for devices that need it
-
-ACTION=="add", SUBSYSTEM=="firmware", RUN+="firmware.sh"

Modified: trunk/udev-config/ChangeLog
===================================================================
--- trunk/udev-config/ChangeLog	2008-05-22 23:53:18 UTC (rev 8543)
+++ trunk/udev-config/ChangeLog	2008-05-22 23:54:28 UTC (rev 8544)
@@ -1,3 +1,11 @@
+2008-05-21	Bryan Kadzban	<bryan at linuxfromscratch.org>
+	* 81-firmware.rules, doc/81-firmware.txt: Remove.  This rule is
+	  already handled by udev's 50-udev-default.rules file.  The docs
+	  can be added back later if needed.
+	* Makefile: Don't install the above deleted files.
+	* 55-lfs.rules: Remove the device-mapper rule, since the upstream
+	  50-udev-default.rules file handles it properly.
+
 2008-04-02	Bryan Kadzban	<bryan at linuxfromscratch.org>
 	* Makefile: Make the package DESTDIR-friendly by installing the docs
 	  into a fixed $(PREFIX)/share/doc/udev-config directory, instead of

Modified: trunk/udev-config/Makefile
===================================================================
--- trunk/udev-config/Makefile	2008-05-22 23:53:18 UTC (rev 8543)
+++ trunk/udev-config/Makefile	2008-05-22 23:54:28 UTC (rev 8544)
@@ -6,8 +6,7 @@
 INSTALL_DATA = $(INSTALL) -m644
 RULES_FILES = \
 	55-lfs.rules \
-	61-cdrom.rules \
-	81-firmware.rules
+	61-cdrom.rules
 DOC_FILES = $(RULES_FILES:.rules=.txt)
 
 EXTRA_DOC_FILES = \

Deleted: trunk/udev-config/doc/81-firmware.txt
===================================================================
--- trunk/udev-config/doc/81-firmware.txt	2008-05-22 23:53:18 UTC (rev 8543)
+++ trunk/udev-config/doc/81-firmware.txt	2008-05-22 23:54:28 UTC (rev 8544)
@@ -1,15 +0,0 @@
-Purpose of rules file:
-
-This rules file allows Udev to load firmware for any device that requires it at
-runtime.
-
-
-Description of rules:
-
-There is only one rule in this file.  It matches a SUBSYSTEM of "firmware",
-which any device that requires firmware will use.  The rule runs the
-/lib/udev/firmware.sh script.  This script will load the appropriate firmware
-image onto the device, based on the environment variable FIRMWARE (which was
-sent by the kernel).  It searches for firmware images in /lib/firmware and
-/usr/local/lib/firmware.
-




More information about the lfs-book mailing list