aboutsummaryrefslogtreecommitdiffstats
path: root/meta-mentor-staging/recipes-core/udev/udev-extraconf/0001-udev-extraconf-mount.sh-ignore-lvm-in-automount.patch
blob: 540779456cf670865e0a0d485308b72711d0ba05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
From c81149d0faef688270b7f4b49bef7bd71016b242 Mon Sep 17 00:00:00 2001
From: Ansar Rasool <ansar_rasool@mentor.com>
Date: Tue, 10 Nov 2020 12:50:14 +0500
Subject: [PATCH 1/1] udev-extraconf/mount.sh: ignore lvm in automount

Signed-off-by: Ansar Rasool <ansar_rasool@mentor.com>
---
 mount.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mount.sh b/mount.sh
index ef4e1ad..513a716 100644
--- a/mount.sh
+++ b/mount.sh
@@ -67,6 +67,8 @@ automount_systemd() {
         ;;
     swap)
         return ;;
+    lvm*|LVM*)
+        return ;;
     # TODO
     *)
         ;;
@@ -127,6 +129,8 @@ automount() {
 		;;
 	swap)
 		return ;;
+	lvm*|LVM*)
+                return ;;
 	# TODO
 	*)
 		;;
-- 
2.17.1