1 DEFAULT_PREFERENCE
= "-1"
3 DESCRIPTION
= "udev is a daemon which dynamically creates and removes device nodes from \
4 /dev/, handles hotplug events and loads drivers at boot time. It replaces \
5 the hotplug package and requires a kernel not older than 2.6.15."
6 DESCRIPTION_libvolume
-id
= "libvolume_id shared library, \
7 used to detect the type of a file system and read its metadata."
8 DESCRIPTION_libvolume
-id
-dev
= "libvolume_id development headers, \
9 needed to link programs with libvolume_id."
17 SRC_URI
+= "file://noasmlinkage.patch \
19 file://mount.blacklist \
22 FILES_$
{PN
} += "${base_libdir}/udev/*"
23 FILES_$
{PN
}-dbg
+= "${base_libdir}/udev/.debug"
24 UDEV_EXTRAS
= "extras/firmware/ extras/scsi_id/ extras/volume_id/ extras/run_directory/"
25 EXTRA_OEMAKE
+= "libudevdir=/lib/udev libdir=${base_libdir} prefix="
28 install
-d $
{D
}$
{usrsbindir
} \
31 oe_runmake 'DESTDIR
=$
{D
}' INSTALL
=install install
32 install
-d $
{D
}$
{sysconfdir
}/init.d
33 install
-m
0755 $
{WORKDIR
}/init $
{D
}$
{sysconfdir
}/init.d
/udev
35 install
-d $
{D
}$
{sysconfdir
}/udev
/rules.d
/
37 install
-m
0644 $
{WORKDIR
}/mount.blacklist $
{D
}$
{sysconfdir
}/udev
/
38 install
-m
0644 $
{WORKDIR
}/local.rules $
{D
}$
{sysconfdir
}/udev
/rules.d
/local.rules
39 install
-m
0644 $
{WORKDIR
}/permissions.rules $
{D
}$
{sysconfdir
}/udev
/rules.d
/permissions.rules
40 install
-m
0644 $
{WORKDIR
}/udev.rules $
{D
}$
{sysconfdir
}/udev
/rules.d
/udev.rules
41 install
-m
0644 $
{WORKDIR
}/links.conf $
{D
}$
{sysconfdir
}/udev
/links.conf
42 if [ "${UDEV_DEVFS_RULES}" = "1" ]; then
43 install
-m
0644 $
{WORKDIR
}/devfs
-udev.rules $
{D
}$
{sysconfdir
}/udev
/rules.d
/devfs
-udev.rules
46 install
-d $
{D
}$
{sysconfdir
}/udev
/scripts
/
48 install
-m
0755 $
{WORKDIR
}/mount.sh $
{D
}$
{sysconfdir
}/udev
/scripts
/mount.sh
49 install
-m
0755 $
{WORKDIR
}/network.sh $
{D
}$
{sysconfdir
}/udev
/scripts
51 install
-d $
{D
}$
{base_libdir
}/udev
/
54 do_install_append_h2200
() {
55 install
-m
0644 $
{WORKDIR
}/50-hostap_cs.rules $
{D
}$
{sysconfdir
}/udev
/rules.d
/50-hostap_cs.rules
58 pkg_postinst_append
() {
60 # Add the root partition
to mount.blacklist
to avoid a bug in the auto
-mounter
,
61 # causing confusion with fsck on boot
63 while read dev mp fs junk
68 echo
"$root_partition" >> $D$
{sysconfdir
}/udev
/mount.blacklist
70 done
< $D$
{sysconfdir
}/fstab
76 SRC_URI
[md5sum
] = "dfee443eed87892cc7eb50969191ff17"
77 SRC_URI
[sha256sum
] = "1af8fedef2e76c99ab4dbf75e5ff573739dd952adc7856c5dbcebf0512e4adbe"