r806 - x86/branches/utf8-newmake/packages/udev

alexander at linuxfromscratch.org alexander at linuxfromscratch.org
Fri Sep 30 08:15:22 PDT 2005


Author: alexander
Date: 2005-09-30 09:15:21 -0600 (Fri, 30 Sep 2005)
New Revision: 806

Modified:
   x86/branches/utf8-newmake/packages/udev/Makefile
Log:
Fixed running programs in /etc/hotplug.d
Now after inserting a flash drive, usb-storage.ko is loaded automatically.


Modified: x86/branches/utf8-newmake/packages/udev/Makefile
===================================================================
--- x86/branches/utf8-newmake/packages/udev/Makefile	2005-09-30 14:25:25 UTC (rev 805)
+++ x86/branches/utf8-newmake/packages/udev/Makefile	2005-09-30 15:15:21 UTC (rev 806)
@@ -24,9 +24,12 @@
 	$(std_build)
 
 compile-stage2:
-	make
-	make install
+	make EXTRAS=extras/run_directory/
+	make EXTRAS=extras/run_directory/ install
+	# Udev-070 Makefile has a bug here
+	install -m755 extras/run_directory/udev_run_hotplugd /sbin
 	cp $(SRC)/$(CONFIG1) /etc/udev/rules.d/25-lfs.rules
+	echo 'RUN+="/sbin/udev_run_hotplugd"' >>/etc/udev/rules.d/25-lfs.rules
 	install -m644 -D docs/writing_udev_rules/index.html \
 	 /usr/share/doc/$(DIR)/index.html
 # FIXME: this creates the udevd process




More information about the livecd mailing list