udevd: install into /lib/udev instead of /sbin

This commit is contained in:
Kay Sievers 2011-10-10 20:27:20 +02:00
parent c61e36b1b4
commit d964a4bfde
4 changed files with 15 additions and 8 deletions

View 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

14
NEWS
View File

@ -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.

1
TODO
View File

@ -1,6 +1,5 @@
- test (now fixed) /dev/tape/ links
- move udevd -> --libexecdir
- move udevadm -> --bindir
- have a $attrs{} ?

View 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