chiark / gitweb /
move some helpers from extras to /lib/udev
authorKay Sievers <kay.sievers@suse.de>
Tue, 22 Nov 2005 16:31:38 +0000 (17:31 +0100)
committerKay Sievers <kay.sievers@suse.de>
Tue, 22 Nov 2005 16:31:38 +0000 (17:31 +0100)
Signed-off-by: Kay Sievers <kay.sievers@suse.de>
RELEASE-NOTES
extras/firmware/Makefile
extras/floppy/Makefile
extras/run_directory/Makefile

index cbec3d31abf20ed83b408eaa56ea469939f62ee6..86a7fa8bdefbf306309f7f6907e9bf4fcae0d26b 100644 (file)
@@ -7,16 +7,22 @@ the timing of the "bus" link creation, the former integrated logic should
 be emulated by a rule placed before all other rules:
   ACTION=="add", DEVPATH=="/devices/*", ENV{PHYSDEVBUS}=="?*", WAIT_FOR_SYSFS="bus"
 
-The option "udev_db" does no longer exist. All udev state will always
-be in /$udev_root/.udev/ now, there is no longer an option to set this
+The option "udev_db" does no longer exist. All udev state will be in
+/$udev_root/.udev/ now, there is no longer an option to set this
 to anything else.
+If the init script or something else used this value, just depend on
+this hardcoded path. But remember _all_content_ of this directory is
+still private to udev and can change at any time.
 
 Default location for rule sripts and helper programs is now: /lib/udev/.
 Everything that is not useful on the commandline should go into this
-directory. Also /lib/udev/devices/ is recommended as a directory where
-packages or the user can place real device nodes, which get copied over
-to /dev at every boot. This should replace the various solutions with
-custom config files.
+directory. Some of the helpers in the extras folder are installed there
+now. The rules need to be changed, to find the helpers there.
+
+Also /lib/udev/devices is recommended as a directory where packages or
+the user can place real device nodes, which get copied over to /dev at
+every boot. This should replace the various solutions with custom config
+files.
 
 Udevsend does no longer start the udev daemon. This must be done with
 the init script that prepares /dev on tmpfs and creates the initial nodes,
index 78a7935d668eaaa3a3c467c90539918bb3d4c00f..16918867fc2c0bb62c8ef12df3cde0af89ec0778 100644 (file)
@@ -48,11 +48,11 @@ clean:
 .PHONY: clean
 
 install-bin: all
-       $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG)
+       $(INSTALL_PROGRAM) -D $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
 .PHONY: install-bin
 
 uninstall-bin:
-       - rm $(DESTDIR)$(sbindir)/$(PROG)
+       - rm $(DESTDIR)$(libudevdir)/$(PROG)
 .PHONY: uninstall-bin
 
 install-man:
index d894a4a3e1d51e99657e7041ab1153350120231e..240af4ce059a4bd3b7d323d2d67c71459196fda9 100644 (file)
@@ -48,11 +48,11 @@ clean:
 .PHONY: clean
 
 install-bin: all
-       $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(sbindir)/$(PROG)
+       $(INSTALL_PROGRAM) -D $(PROG) $(DESTDIR)$(libudevdir)/$(PROG)
 .PHONY: install-bin
 
 uninstall-bin:
-       - rm $(DESTDIR)$(sbindir)/$(PROG)
+       - rm $(DESTDIR)$(libudevdir)/$(PROG)
 .PHONY: uninstall-bin
 
 install-man:
index 7d5bccbcca085d1990e556e8db6c28bca7ad6553..d138f62c033b2ec7825ff5b0a1d5d4c098236d46 100644 (file)
@@ -47,13 +47,13 @@ clean:
 .PHONY: clean
 
 install-bin: all
-       $(INSTALL_PROGRAM) udev_run_devd $(DESTDIR)$(sbindir)/udev_run_devd
-       $(INSTALL_PROGRAM) udev_run_hotplugd $(DESTDIR)$(sbindir)/udev_run_hotplugd
+       $(INSTALL_PROGRAM) -D udev_run_devd $(DESTDIR)$(libudevdir)/udev_run_devd
+       $(INSTALL_PROGRAM) -D udev_run_hotplugd $(DESTDIR)$(libudevdir)/udev_run_hotplugd
 .PHONY: install-bin
 
 uninstall-bin:
-       - rm $(DESTDIR)$(sbindir)/udev_run_devd
-       - rm $(DESTDIR)$(sbindir)/udev_run_hotplugd
+       - rm $(DESTDIR)$(libudevdir)/udev_run_devd
+       - rm $(DESTDIR)$(libudevdir)/udev_run_hotplugd
 .PHONY: uninstall-bin
 
 install-man: