summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing Liu <ting.liu@freescale.com>2014-08-01 12:33:17 +0800
committerZhenhua Luo <zhenhua.luo@freescale.com>2014-08-06 11:07:50 +0800
commitf60edc4bbefdf6378880b81bff3112e05e115908 (patch)
tree16a72ea3ef5b2e264ce86cfdda85bea75c0b0c86
parent74f473df1337a7ee2ab1d3b1f9a63279098ed6f0 (diff)
downloadmeta-freescale-f60edc4bbefdf6378880b81bff3112e05e115908.tar.gz
udev-extraconf: not automount network block devices
The nbd devices are set up loop devices, we first have dead device nodes, then later we attach stuff behind them. At the time of the udev creation event, nothing works at nbd devices. This avoids unnecessary boot error msg: | nbd0: Attempted send on closed socket | end_request: I/O error, dev nbd0, sector 0 Signed-off-by: Ting Liu <ting.liu@freescale.com>
-rw-r--r--meta-fsl-ppc/recipes-core/udev/udev-extraconf_%.bbappend2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-fsl-ppc/recipes-core/udev/udev-extraconf_%.bbappend b/meta-fsl-ppc/recipes-core/udev/udev-extraconf_%.bbappend
index 6c2bfe2c6..896e75f64 100644
--- a/meta-fsl-ppc/recipes-core/udev/udev-extraconf_%.bbappend
+++ b/meta-fsl-ppc/recipes-core/udev/udev-extraconf_%.bbappend
@@ -9,5 +9,7 @@ do_install_append_qoriq-ppc () {
9 9
10 # skip mmc rpmb partitions 10 # skip mmc rpmb partitions
11 echo "/dev/mmcblk.*rpmb" >>${D}${sysconfdir}/udev/mount.blacklist 11 echo "/dev/mmcblk.*rpmb" >>${D}${sysconfdir}/udev/mount.blacklist
12 # skip nbd (network block device)
13 echo "/dev/nbd*" >>${D}${sysconfdir}/udev/mount.blacklist
12} 14}
13 15