chiark / gitweb /
udevd: install into /lib/udev instead of /sbin
authorKay Sievers <kay.sievers@vrfy.org>
Mon, 10 Oct 2011 18:27:20 +0000 (20:27 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Mon, 10 Oct 2011 18:27:20 +0000 (20:27 +0200)
Makefile.am
NEWS
TODO
init/udev.service.in

index d8b1889c222383197f96baeba279c5aaef5919bd..0cc45e6ff4f9211fee6ce367269620095cd90108 100644 (file)
@@ -151,9 +151,11 @@ INSTALL_DATA_HOOKS += systemd-install-hook
 endif
 
 sbin_PROGRAMS = \
-       udev/udevd \
        udev/udevadm
 
+libexec_PROGRAMS = \
+       udev/udevd
+
 udev_common_sources =\
        udev/udev.h \
        udev/udev-event.c \
@@ -233,7 +235,7 @@ extras_firmware_firmware_SOURCES = extras/firmware/firmware.c
 extras_firmware_firmware_LDADD = libudev/libudev-private.la
 extras_firmware_firmware_CPPFLAGS = $(AM_CPPFLAGS) -DFIRMWARE_PATH="$(FIRMWARE_PATH)"
 dist_udevrules_DATA += extras/firmware/50-firmware.rules
-libexec_PROGRAMS = extras/firmware/firmware
+libexec_PROGRAMS += extras/firmware/firmware
 
 # ------------------------------------------------------------------------------
 # ata_id - ATA identify
diff --git a/NEWS b/NEWS
index 2f96d0916823b105b5e173cecc7e80f0649845a9..2649ac550dec275e774abbb4ccac21f4ed6f51c9 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,16 +2,22 @@ udev 173+
 ========
 Bugfixes.
 
-The path_id, usb_id, input_id tools are built-in commands now
-and the stand-alone tools do not exist anymore. For testing,
-the commands can be run with 'udevadm test-builtin <cmd>'.
+The udev daemon moved to /lib/udev/udevd. Non-systemd init systems
+and non-dracut initramfs image generators need to change the init
+scripts. Alternatively the udev build needs to move udevd back to
+/sbin or create a symlink in /sbin, which is not done by default.
+
+The path_id, usb_id, input_id tools are built-in commands now and
+the stand-alone tools do not exist anymore. Static lists of file in
+initramfs generators need to be updated. For testing, the commands
+can still be executed standalone with 'udevadm test-builtin <cmd>'.
 
 The fusectl filesystem is no longer mounted directly from udev.
 Systemd systems will take care of mounting fusectl and configfs
 now. Non-systemd systems need to ship their own rule if they
 need these filesystems auto-mounted.
 
-The long deprecated keys: SYSFS, ID, BUS have been removed.
+The long deprecated keys: SYSFS=, ID=, BUS= have been removed.
 
 The support for 'udevadm trigger --type=failed, and the
 RUN{fail_event_on_error} attribute was removed.
diff --git a/TODO b/TODO
index 6e33f428f22c3f0582f36245dc74deafec7fc659..96d5b68123f65036f31626683a827993d2ebf810 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,6 +1,5 @@
  - test (now fixed) /dev/tape/ links
 
- - move udevd -> --libexecdir
  - move udevadm -> --bindir
 
  - have a $attrs{} ?
index 4107b6a93e0c2a629ca9e204b20ba70e3d3d8f38..0a3f62869f3be5c92ae69aa0c0809bac58a01103 100644 (file)
@@ -11,4 +11,4 @@ Type=notify
 OOMScoreAdjust=-1000
 Sockets=udev-control.socket udev-kernel.socket
 Restart=on-failure
-ExecStart=@sbindir@/udevd
+ExecStart=@libexecdir@/udevd