1 DESCRIPTION
= "udev is a daemon which dynamically creates and removes device nodes from \
2 /dev/, handles hotplug events and loads drivers at boot time. It replaces \
3 the hotplug package and requires a kernel not older than 2.6.12."
4 RPROVIDES_$
{PN
} = "hotplug"
12 SRC_URI
+= "file://noasmlinkage.patch \
14 file://udevsynthesize.patch \
15 file://udevsynthesize.sh \
16 file://arm_inotify_fix.patch \
17 file://mtd-exclude-persistent.patch \
18 file://mount.blacklist \
21 FILES_$
{PN
} += "${base_libdir}/udev/*"
22 FILES_$
{PN
}-dbg
+= "${base_libdir}/udev/.debug"
23 UDEV_EXTRAS
= "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/"
24 EXTRA_OEMAKE
+= "libudevdir=/lib/udev libdir=${base_libdir} prefix="
27 install
-d $
{D
}$
{usrsbindir
} \
30 oe_runmake 'DESTDIR
=$
{D
}' INSTALL
=install install
31 install
-d $
{D
}$
{sysconfdir
}/init.d
32 install
-m
0755 $
{WORKDIR
}/init $
{D
}$
{sysconfdir
}/init.d
/udev
34 install
-d $
{D
}$
{sysconfdir
}/udev
/rules.d
/
36 install
-m
0644 $
{WORKDIR
}/mount.blacklist $
{D
}$
{sysconfdir
}/udev
/
37 install
-m
0644 $
{WORKDIR
}/local.rules $
{D
}$
{sysconfdir
}/udev
/rules.d
/local.rules
38 install
-m
0644 $
{WORKDIR
}/permissions.rules $
{D
}$
{sysconfdir
}/udev
/rules.d
/permissions.rules
39 install
-m
0644 $
{WORKDIR
}/udev.rules $
{D
}$
{sysconfdir
}/udev
/rules.d
/udev.rules
40 install
-m
0644 $
{WORKDIR
}/links.conf $
{D
}$
{sysconfdir
}/udev
/links.conf
41 if [ "${UDEV_DEVFS_RULES}" = "1" ]; then
42 install
-m
0644 $
{WORKDIR
}/devfs
-udev.rules $
{D
}$
{sysconfdir
}/udev
/rules.d
/devfs
-udev.rules
45 install
-d $
{D
}$
{sysconfdir
}/udev
/scripts
/
47 install
-m
0755 $
{WORKDIR
}/mount.sh $
{D
}$
{sysconfdir
}/udev
/scripts
/mount.sh
48 install
-m
0755 $
{WORKDIR
}/network.sh $
{D
}$
{sysconfdir
}/udev
/scripts
50 install
-d $
{D
}$
{base_libdir
}/udev
/
51 install
-m
0755 $
{S
}/udevsynthesize $
{D
}$
{base_libdir
}/udev
/udevsynthesize
52 install
-m
0755 $
{WORKDIR
}/udevsynthesize.sh $
{D
}$
{sbindir
}/udevsynthesize
55 pkg_postinst_append
() {
57 # Add the root partition
to mount.blacklist
to avoid a bug in the auto
-mounter
,
58 # causing confusion with fsck on boot
60 while read dev mp fs junk
65 echo
"$root_partition" >> $D$
{sysconfdir
}/udev
/mount.blacklist
67 done
< $D$
{sysconfdir
}/fstab
72 SRC_URI
[md5sum
] = "a3954a4fc25cee4e1f6df498de8f72c7"
73 SRC_URI
[sha256sum
] = "e402e316ffddbdd5312d3a5957fccf47de7a8b62c7bb3710829a2e696e3818d1"