Using modprobe causes the rule to fail when the module is builtin in kernel and it is logged in journalctl. So use the builtin command 'kmod' instead. This makes the journalctl logs clean and significantly easier to read.
Signed-off-by: Jayesh Choudhary <[email protected]> --- meta-arago-distro/recipes-core/systemd/systemd/local.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-arago-distro/recipes-core/systemd/systemd/local.rules b/meta-arago-distro/recipes-core/systemd/systemd/local.rules index b0e9f84f..4829ca14 100644 --- a/meta-arago-distro/recipes-core/systemd/systemd/local.rules +++ b/meta-arago-distro/recipes-core/systemd/systemd/local.rules @@ -14,7 +14,7 @@ # # Try and modprobe for drivers for new hardware -ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe $env{MODALIAS}" +ACTION=="add", DEVPATH=="/devices/*", ENV{MODALIAS}=="?*", RUN{builtin}+="kmod load $env{MODALIAS}" # Create a symlink to any touchscreen input device SUBSYSTEM=="input", KERNEL=="event[0-9]*", ENV{ID_INPUT_TOUCHSCREEN}=="1", SYMLINK+="input/touchscreen0" -- 2.25.1 -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14148): https://lists.yoctoproject.org/g/meta-arago/message/14148 Mute This Topic: https://lists.yoctoproject.org/mt/96050645/21656 Group Owner: [email protected] Unsubscribe: https://lists.yoctoproject.org/g/meta-arago/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
