summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev/udev-extraconf
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:27 +0100
commit69ff043e625a3cead8b8d653e08c8084bf6eaebf (patch)
tree71c341919fe50c42304c030a891a0afe5319fdc0 /meta/recipes-core/udev/udev-extraconf
parentb4b004641a42dd6e5c8ae5e66c451f49f09282d1 (diff)
downloadpoky-69ff043e625a3cead8b8d653e08c8084bf6eaebf.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. (From OE-Core rev: b1d18072ed9a8b0bca0f20f8e5deefa73ab6acbe) 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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev/udev-extraconf')
-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() {
76 ;; 76 ;;
77 swap) 77 swap)
78 return ;; 78 return ;;
79 lvm*|LVM*)
80 return ;;
79 # TODO 81 # TODO
80 *) 82 *)
81 ;; 83 ;;
@@ -129,6 +131,8 @@ automount() {
129 ;; 131 ;;
130 swap) 132 swap)
131 return ;; 133 return ;;
134 lvm*|LVM*)
135 return ;;
132 # TODO 136 # TODO
133 *) 137 *)
134 ;; 138 ;;