diff options
author | Ting Liu <ting.liu@freescale.com> | 2014-08-01 12:33:17 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2014-08-06 11:07:50 +0800 |
commit | 6b7cb273f928ef0b0fe54479a3fb777a54908d29 (patch) | |
tree | f7819b773a569d8cba23f3bd05581dbbdfe446cd /recipes-core | |
parent | cd5b8b145b57165e613b53cbbcff2acaf3d63582 (diff) | |
download | meta-fsl-ppc-6b7cb273f928ef0b0fe54479a3fb777a54908d29.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>
Diffstat (limited to 'recipes-core')
-rw-r--r-- | recipes-core/udev/udev-extraconf_%.bbappend | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-core/udev/udev-extraconf_%.bbappend b/recipes-core/udev/udev-extraconf_%.bbappend index 6c2bfe2..896e75f 100644 --- a/recipes-core/udev/udev-extraconf_%.bbappend +++ b/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 | ||