summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2016-11-01 14:30:56 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-11-06 23:35:17 +0000
commit9f4a85eb929f67420d9689d7dddadd120ed49843 (patch)
treefb8e9b88bf16cffc22aef0767affbdc160b6456a
parenta82e8725902086dab785a0b14305927dae1e4e8d (diff)
downloadopenembedded-core-contrib-9f4a85eb929f67420d9689d7dddadd120ed49843.tar.gz
openembedded-core-contrib-9f4a85eb929f67420d9689d7dddadd120ed49843.tar.bz2
openembedded-core-contrib-9f4a85eb929f67420d9689d7dddadd120ed49843.zip
busybox/mdev.conf: Ignore eMMC RPMB and boot block devices
eMMC devices may report block devices like "mmcblk0rpmb" and "mmcblk0boot0". These are not actually block devices and any read/write operation on them will fail. To prevent spamming error messages attempting to mount them, just ignore these devices. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-core/busybox/files/mdev.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/files/mdev.conf b/meta/recipes-core/busybox/files/mdev.conf
index 17e93da7c3..4e9c23f14b 100644
--- a/meta/recipes-core/busybox/files/mdev.conf
+++ b/meta/recipes-core/busybox/files/mdev.conf
@@ -39,4 +39,6 @@ input/mouse.* 0:0 0660
tun[0-9]* 0:0 0660 =net/
[hs]d[a-z][0-9]? 0:0 660 */etc/mdev/mdev-mount.sh
+mmcblk[0-9]rpmb 0:0 660
+mmcblk[0-9]boot[0-9] 0:0 660
mmcblk[0-9].* 0:0 660 */etc/mdev/mdev-mount.sh