summaryrefslogtreecommitdiffstats
path: root/recipes-core
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core')
-rw-r--r--recipes-core/udev/eudev/firmware.rules3
-rw-r--r--recipes-core/udev/eudev_%.bbappend7
2 files changed, 8 insertions, 2 deletions
diff --git a/recipes-core/udev/eudev/firmware.rules b/recipes-core/udev/eudev/firmware.rules
new file mode 100644
index 00000000..f7a08ce9
--- /dev/null
+++ b/recipes-core/udev/eudev/firmware.rules
@@ -0,0 +1,3 @@
1# stub for immediately telling the kernel that userspace firmware loading
2# failed; necessary to avoid long timeouts with CONFIG_FW_LOADER_USER_HELPER=y
3SUBSYSTEM=="firmware", ACTION=="add", ATTR{loading}="-1"
diff --git a/recipes-core/udev/eudev_%.bbappend b/recipes-core/udev/eudev_%.bbappend
index a23d0155..54cbf841 100644
--- a/recipes-core/udev/eudev_%.bbappend
+++ b/recipes-core/udev/eudev_%.bbappend
@@ -1,8 +1,11 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2 2
3SRC_URI_append = " file://omap-tty.rules" 3SRC_URI_append = " \
4 file://omap-tty.rules \
5 file://firmware.rules \
6"
4 7
5PR_append = ".1" 8PR_append = ".2"
6 9
7install_omap_rules() { 10install_omap_rules() {
8 install -m 0644 ${WORKDIR}/omap-tty.rules ${D}${sysconfdir}/udev/rules.d/ 11 install -m 0644 ${WORKDIR}/omap-tty.rules ${D}${sysconfdir}/udev/rules.d/