1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-04-20 11:42:57 +00:00

eudev: immediately tell kernel that userspace FW loading failed

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Denys Dmytriyenko
2016-04-30 04:14:51 +00:00
parent ca43376a8c
commit 4b96409bcc
2 changed files with 8 additions and 2 deletions

View File

@@ -0,0 +1,3 @@
# stub for immediately telling the kernel that userspace firmware loading
# failed; necessary to avoid long timeouts with CONFIG_FW_LOADER_USER_HELPER=y
SUBSYSTEM=="firmware", ACTION=="add", ATTR{loading}="-1"

View File

@@ -1,8 +1,11 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI_append = " file://omap-tty.rules"
SRC_URI_append = " \
file://omap-tty.rules \
file://firmware.rules \
"
PR_append = ".1"
PR_append = ".2"
install_omap_rules() {
install -m 0644 ${WORKDIR}/omap-tty.rules ${D}${sysconfdir}/udev/rules.d/