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:
3
recipes-core/udev/eudev/firmware.rules
Normal file
3
recipes-core/udev/eudev/firmware.rules
Normal 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"
|
||||
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user