2012-05-26 15:40:19 +02: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
|
2012-07-09 15:40:04 +02:00
|
|
|
vmove usr/lib/udev usr/lib
|
2012-05-26 15:40:19 +02:00
|
|
|
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
|
2012-07-09 15:40:04 +02:00
|
|
|
vmove usr/lib/systemd/systemd-udevd usr/lib/systemd
|
2012-07-04 10:17:11 +02:00
|
|
|
for f in udevd.service udevd-control.socket udevd-kernel.socket \
|
2012-05-26 15:40:19 +02:00
|
|
|
udev-trigger.service udev-settle.service; do
|
2012-07-09 15:40:04 +02:00
|
|
|
vmove usr/lib/systemd/system/systemd-${f} usr/lib/systemd/system
|
2012-05-26 15:40:19 +02:00
|
|
|
done
|
2012-07-09 15:40:04 +02:00
|
|
|
# Create /usr/sbin/udev symlink just for compatibility.
|
|
|
|
vmkdir usr/sbin
|
|
|
|
ln -sf /usr/lib/systemd/systemd-udevd ${DESTDIR}/usr/sbin/udevd
|
2012-05-26 15:40:19 +02:00
|
|
|
}
|