Skip to contentSkip to conversation

small install problem (udev_run_hotplugd)

PATCH Christian Krause 2 participants 2 messages Oct 17, 2005

lore
Share & tools
lore
#0 lore raw

Hi,

I've found a small problem with the Makefile in
/extras/run_directory/Makefile:

It installs udevd_run_devd as udev_run_devd _and_ as udev_run_hotplugd. This means, that the correct binary (udev_run_hotplugd) is built but never installed. Because the wrong udev_run_hotplugd is installed, the "hotplug compatibility layer" doesn't work anymore and no scripts in /etc/hotplug/default/ are executed. In my case hald did not work...

This small patch solves the problem:

extras/run_directory/Makefile +1 -1
diff -uNr udev-070.old/extras/run_directory/Makefile udev-070/extras/run_directory/Makefile
@@ -47,7 +47,7 @@
 
 install-bin: all
 	$(INSTALL_PROGRAM) udev_run_devd $(DESTDIR)$(sbindir)/udev_run_devd
-	$(INSTALL_PROGRAM) udev_run_devd $(DESTDIR)$(sbindir)/udev_run_hotplugd
+	$(INSTALL_PROGRAM) udev_run_hotplugd $(DESTDIR)$(sbindir)/udev_run_hotplugd
 .PHONY: install-bin
 
 uninstall-bin:

Best regards,
Christian

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 8 lines · Christian Krause

I've found a small problem with the Makefile in
/extras/run_directory/Makefile:

It installs udevd_run_devd as udev_run_devd _and_ as udev_run_hotplugd. This means, that the correct binary (udev_run_hotplugd) is built but never installed. Because the wrong udev_run_hotplugd is installed, the "hotplug compatibility layer" doesn't work anymore and no scripts in /etc/hotplug/default/ are executed. In my case hald did not work...

That is already fixed for the next release:
http://www.kernel.org/git/?p=linux/hotplug/udev.git;a=commitdiff;hw914dfeda9caae155f7dcdbeb06dc8574a6f4ad

which I'm just holding back for possible preparations of the new input sysfs layout. 071 should be out during the next few days.

Thanks,
Kay

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel