2012-05-26 13:40:19 +00:00
|
|
|
# Template file for 'libudev'.
|
|
|
|
#
|
|
|
|
conf_files="/etc/udev/udev.conf"
|
|
|
|
short_desc="udev daemon"
|
|
|
|
long_desc="
|
|
|
|
udev is a daemon which dynamically creates and removes device nodes from
|
|
|
|
/dev/, handles hotplug events and loads drivers at boot time."
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmove etc/udev etc
|
|
|
|
vmove usr/bin/udevadm usr/bin
|
|
|
|
vmove lib/udev lib
|
|
|
|
vmove usr/share/man/man7/udev.7 usr/share/man/man7
|
|
|
|
for f in udevadm systemd-udevd; do
|
|
|
|
vmove usr/share/man/man8/${f}.8 usr/share/man/man8
|
|
|
|
done
|
|
|
|
vmove usr/share/pkgconfig/udev.pc usr/share/pkgconfig
|
|
|
|
vmove lib/systemd/systemd-udevd lib/systemd
|
|
|
|
for f in udev.service udev-control.socket udev-kernel.socket \
|
|
|
|
udev-trigger.service udev-settle.service; do
|
|
|
|
vmove lib/systemd/system/systemd-${f} lib/systemd/system
|
|
|
|
done
|
2012-05-26 23:02:00 +00:00
|
|
|
# Create /sbin/udev symlink just for compatibility.
|
|
|
|
vmkdir sbin
|
|
|
|
ln -sf /lib/systemd/systemd-udevd ${DESTDIR}/sbin/udevd
|
2012-05-26 13:40:19 +00:00
|
|
|
}
|