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>
This commit is contained in:
Muhammad Hamza 2022-06-21 10:09:37 +05:00 committed by Richard Purdie
parent b4b004641a
commit 69ff043e62

View File

@ -76,6 +76,8 @@ automount_systemd() {
;;
swap)
return ;;
lvm*|LVM*)
return ;;
# TODO
*)
;;
@ -129,6 +131,8 @@ automount() {
;;
swap)
return ;;
lvm*|LVM*)
return ;;
# TODO
*)
;;