summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core
diff options
context:
space:
mode:
authorMuhammad Hamza <Muhammad_Hamza@mentor.com>2022-06-21 10:09:37 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-21 18:44:23 +0100
commitb1d18072ed9a8b0bca0f20f8e5deefa73ab6acbe (patch)
tree8fd65ecca09962a1a65f65fd3023c413a0c8a135 /meta/recipes-core
parent1e770416b4c9a0468404fb64d55114d93e84763b (diff)
downloadopenembedded-core-contrib-b1d18072ed9a8b0bca0f20f8e5deefa73ab6acbe.tar.gz
udev-extraconf/mount.sh: ignore lvm in automount
Failure message is shown in boot logs when trying to mount lvm as automounter does not handle cases where lvm is mounted. This simply skips lvm while automounting to avoid failure message in boot logs. Signed-off-by: Ansar Rasool <ansar_rasool@mentor.com> Signed-off-by: Muhammad Hamza <muhammad_hamza@mentor.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Diffstat (limited to 'meta/recipes-core')
-rw-r--r--meta/recipes-core/udev/udev-extraconf/mount.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/udev/udev-extraconf/mount.sh b/meta/recipes-core/udev/udev-extraconf/mount.sh
index 537828e3e3..8b6ce77741 100644
--- a/meta/recipes-core/udev/udev-extraconf/mount.sh
+++ b/meta/recipes-core/udev/udev-extraconf/mount.sh
@@ -76,6 +76,8 @@ automount_systemd() {
;;
swap)
return ;;
+ lvm*|LVM*)
+ return ;;
# TODO
*)
;;
@@ -129,6 +131,8 @@ automount() {
;;
swap)
return ;;
+ lvm*|LVM*)
+ return ;;
# TODO
*)
;;