summaryrefslogtreecommitdiff
path: root/recipes-core/udev
diff options
context:
space:
mode:
authorSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2021-12-23 17:42:32 +0200
committerSerhii Kostiuk <serhii.o.kostiuk@globallogic.com>2021-12-23 17:42:32 +0200
commit0d94aeefa9a29d6b58d1c481d60b85858bd4599a (patch)
tree468f6bdd31d8d55a4ae0e47a72faeaff2aeeda1d /recipes-core/udev
parentdf6472d2d744a0adcc93b24575a24851fba50248 (diff)
parentbe0069adf8794e129cd5b01d4b1052677136d82c (diff)
downloadmeta-mlinux-0d94aeefa9a29d6b58d1c481d60b85858bd4599a.tar.gz
meta-mlinux-0d94aeefa9a29d6b58d1c481d60b85858bd4599a.tar.bz2
meta-mlinux-0d94aeefa9a29d6b58d1c481d60b85858bd4599a.zip
Merge remote-tracking branch 'origin/6' into mpower-dev-nxp
Diffstat (limited to 'recipes-core/udev')
-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 539cfb2..a7b0d67 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 \