summaryrefslogtreecommitdiff
path: root/recipes/udev/udev_141.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/udev/udev_141.bb')
-rw-r--r--recipes/udev/udev_141.bb8
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes/udev/udev_141.bb b/recipes/udev/udev_141.bb
index e7438fb4d6..e687989e9f 100644
--- a/recipes/udev/udev_141.bb
+++ b/recipes/udev/udev_141.bb
@@ -6,7 +6,10 @@ LICENSE = "GPL"
# Untested
DEFAULT_PREFERENCE = "-1"
-PR = "r6"
+PR = "r8"
+
+# needed for init.d script
+RDEPENDS_udev += "udev-utils"
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
file://mount.blacklist \
@@ -64,6 +67,9 @@ do_install () {
mv ${D}${base_libdir}/udev/rules.d ${D}${sysconfdir}/udev/
ln -sf ${sysconfdir}/udev/rules.d ${D}${base_libdir}/udev/
+ cp ${S}/rules/rules.d/* ${D}${sysconfdir}/udev/rules.d/
+ cp ${S}/rules/packages/* ${D}${sysconfdir}/udev/rules.d/
+
install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/
install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules
install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules