diff options
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/udev/eudev/firmware.rules | 3 | ||||
-rw-r--r-- | recipes-core/udev/eudev_%.bbappend | 7 |
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 | ||
3 | SUBSYSTEM=="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 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
2 | 2 | ||
3 | SRC_URI_append = " file://omap-tty.rules" | 3 | SRC_URI_append = " \ |
4 | file://omap-tty.rules \ | ||
5 | file://firmware.rules \ | ||
6 | " | ||
4 | 7 | ||
5 | PR_append = ".1" | 8 | PR_append = ".2" |
6 | 9 | ||
7 | install_omap_rules() { | 10 | install_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/ |