From b1d18072ed9a8b0bca0f20f8e5deefa73ab6acbe Mon Sep 17 00:00:00 2001 From: Muhammad Hamza Date: Tue, 21 Jun 2022 10:09:37 +0500 Subject: [PATCH] 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 Signed-off-by: Muhammad Hamza Signed-off-by: Luca Ceresoli --- meta/recipes-core/udev/udev-extraconf/mount.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-core/udev/udev-extraconf/mount.sh b/meta/recipes-core/udev/udev-extraconf/mount.sh index 537828e3e3c..8b6ce777411 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 *) ;; -- 2.47.3