Patchwork udev-extraconf: blacklist /dev/md

login
register
mail settings
Submitter Saul Wold
Date Nov. 9, 2011, 9:13 a.m.
Message ID <1320829992-14284-1-git-send-email-sgw@linux.intel.com>
Download mbox | patch
Permalink /patch/14603/
State Accepted
Commit 07a2825c6f4ad3e5e3970cd1a89233bd795c68cf
Headers show

Comments

Saul Wold - Nov. 9, 2011, 9:13 a.m.
Do not mount /dev/md by default via udev, this resolved a problem
with the sanity test failing due to seeing the error while attempting
to mount /dev/md0

Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
 meta/recipes-core/udev/files/mount.blacklist |    1 +
 meta/recipes-core/udev/udev-extraconf_0.0.bb |    2 +-
 2 files changed, 2 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/recipes-core/udev/files/mount.blacklist b/meta/recipes-core/udev/files/mount.blacklist
index d3ebb17..7c7d938 100644
--- a/meta/recipes-core/udev/files/mount.blacklist
+++ b/meta/recipes-core/udev/files/mount.blacklist
@@ -1,3 +1,4 @@ 
 /dev/loop
 /dev/ram
 /dev/mtdblock
+/dev/md
diff --git a/meta/recipes-core/udev/udev-extraconf_0.0.bb b/meta/recipes-core/udev/udev-extraconf_0.0.bb
index e17d944..d0d0e84 100644
--- a/meta/recipes-core/udev/udev-extraconf_0.0.bb
+++ b/meta/recipes-core/udev/udev-extraconf_0.0.bb
@@ -3,7 +3,7 @@  DESCRIPTION = "Extra machine specific configuration files for udev, specifically
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://${WORKDIR}/COPYING.GPL;md5=751419260aa954499f7abaabaa882bbe"
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "file://mount.blacklist \
            file://COPYING.GPL"