[OE-core] [PATCH 3/8] udev-extraconf: move md* and dm* from mount blacklist

Liwei Song liwei.song at windriver.com
Thu Mar 21 03:19:11 UTC 2019


When use rootfs.img as rootfs, root=/dev/ram0 was set, init will
search rootfs.img from all automount point, if deploy it to MD or DM
device, rootfs.img will not be found, then boot failed.

Do not black MD and DM device to allow boot from raid disk or raid
LVM volume.

Signed-off-by: Liwei Song <liwei.song at windriver.com>
---
 meta/recipes-core/udev/udev-extraconf/mount.blacklist | 2 --
 1 file changed, 2 deletions(-)

diff --git a/meta/recipes-core/udev/udev-extraconf/mount.blacklist b/meta/recipes-core/udev/udev-extraconf/mount.blacklist
index e49349428bd3..d3ebb17176b1 100644
--- a/meta/recipes-core/udev/udev-extraconf/mount.blacklist
+++ b/meta/recipes-core/udev/udev-extraconf/mount.blacklist
@@ -1,5 +1,3 @@
 /dev/loop
 /dev/ram
 /dev/mtdblock
-/dev/md
-/dev/dm-*
-- 
2.7.4



More information about the Openembedded-core mailing list