blob: c42cdf5f5be08639173afedea76bebb3c8fb57ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://tmpfs.patch;patch=1 \
file://noasmlinkage.patch;patch=1 \
file://flags.patch;patch=1 \
file://tty-symlinks.patch;patch=1 \
file://udev.rules \
file://links.conf \
file://init"
UDEV_DEVFS_RULES = "0"
include udev.inc
PR = "r1"
UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/"
do_install_append() {
install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/
install -m 0644 ${WORKDIR}/links.conf ${D}${sysconfdir}/udev/links.conf
}
#FIXME UDEV MIGRATION PLAN:
#FIXME a) udevd is now a netlink daemon and needs to be started by the init script (ours is way too old)
#FIXME b) sbin/hotplug should no longer be called by the kernel, i.e. echo "" >/proc/sys/kernel/hotplug
#FIXME done c) until d) happens, udev will emulate hotplugd behaviour (see do_install_append()
#FIXME d) eventually hotplug should no longer be used at all, all agents shall be converted to udev rules
|