From: Muhammad Hamza Date: Tue, 21 Jun 2022 05:09:37 +0000 (+0500) Subject: udev-extraconf/mount.sh: ignore lvm in automount X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~3832 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b1d18072ed9a8b0bca0f20f8e5deefa73ab6acbe;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- 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 *) ;;