Author: matthew
Date: 2007-03-04 12:32:41 -0700 (Sun, 04 Mar 2007)
New Revision: 7958
Modified:
trunk/udev-config/ChangeLog
trunk/udev-config/Makefile
Log:
Used udevd instead of udevinfo to get the installed version of Udev.
Modified: trunk/udev-config/ChangeLog
===================================================================
--- trunk/udev-config/ChangeLog 2007-03-04 19:30:30 UTC (rev 7957)
+++ trunk/udev-config/ChangeLog 2007-03-04 19:32:41 UTC (rev 7958)
@@ -1,3 +1,7 @@
+2007-03-04 Matthew Burgess <[EMAIL PROTECTED]>
+ * Makefile: Use `udevd --version' to work out what version of Udev is
+ installed (requires Udev >= 106)
+
2007-01-02 Bryan Kadzban <[EMAIL PROTECTED]>
* 25-lfs.rules: Change CPU devices (cpu, msr, microcode) to be in
/dev/cpu/ and /dev/cpu/N/, to match Documentation/devices.txt.
Modified: trunk/udev-config/Makefile
===================================================================
--- trunk/udev-config/Makefile 2007-03-04 19:30:30 UTC (rev 7957)
+++ trunk/udev-config/Makefile 2007-03-04 19:32:41 UTC (rev 7958)
@@ -18,8 +18,7 @@
95-udev-late.txt
# Figure out where to install the docs
-UDEVINFO = udevinfo
-UDEV_VERSION = $(shell $(UDEVINFO) -V 2>/dev/null | awk '{print $$NF}')
+UDEV_VERSION = $(shell udevd --version)
DOC_DIR = $(PREFIX)/share/doc/udev-$(UDEV_VERSION)
all:
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page