summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-11-04 03:00:31 -0500
committerAndrii Pientsov <andrii.pientsov@globallogic.com>2021-11-17 14:44:24 +0200
commit687f61d4625a0115b75c8cc84ff411d4293651f5 (patch)
treed9b9652ebddd223930295dd0f5198f14724cdcde
parentad74c0876acca9115185390ea942924dd50d4325 (diff)
downloadmeta-mlinux-687f61d4625a0115b75c8cc84ff411d4293651f5.tar.gz
meta-mlinux-687f61d4625a0115b75c8cc84ff411d4293651f5.tar.bz2
meta-mlinux-687f61d4625a0115b75c8cc84ff411d4293651f5.zip
Remove error with obsolete feature hotplug
-rw-r--r--recipes-core/udev/eudev/init2
-rw-r--r--recipes-core/udev/eudev_%.bbappend2
2 files changed, 2 insertions, 2 deletions
diff --git a/recipes-core/udev/eudev/init b/recipes-core/udev/eudev/init
index d941401..4cec70b 100644
--- a/recipes-core/udev/eudev/init
+++ b/recipes-core/udev/eudev/init
@@ -97,7 +97,7 @@ case "$1" in
kill_udevd > "/dev/null" 2>&1
# trigger the sorted events
- echo -e '\000\000\000\000' > /proc/sys/kernel/hotplug
+ [ -e /proc/sys/kernel/hotplug ] && echo -e '\000' >/proc/sys/kernel/hotplug
@UDEVD@ -d
udevadm control --env=STARTUP=1
diff --git a/recipes-core/udev/eudev_%.bbappend b/recipes-core/udev/eudev_%.bbappend
index 364288e..f669a76 100644
--- a/recipes-core/udev/eudev_%.bbappend
+++ b/recipes-core/udev/eudev_%.bbappend
@@ -1,7 +1,7 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
RDEPENDS_${PN} += "bash"
-PR .= ".mlinux7"
+PR .= ".mlinux8"
# add custom rules for persistent modem device names
SRC_URI += "file://cellular_radios.rules \