aboutsummaryrefslogtreecommitdiffstats
path: root/meta-mentor-staging/recipes-core/udev/udev-extraconf/0002-udev-extraconf-mount.sh-save-mount-name-in-our-tmp-f.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-mentor-staging/recipes-core/udev/udev-extraconf/0002-udev-extraconf-mount.sh-save-mount-name-in-our-tmp-f.patch')
-rw-r--r--meta-mentor-staging/recipes-core/udev/udev-extraconf/0002-udev-extraconf-mount.sh-save-mount-name-in-our-tmp-f.patch32
1 files changed, 0 insertions, 32 deletions
diff --git a/meta-mentor-staging/recipes-core/udev/udev-extraconf/0002-udev-extraconf-mount.sh-save-mount-name-in-our-tmp-f.patch b/meta-mentor-staging/recipes-core/udev/udev-extraconf/0002-udev-extraconf-mount.sh-save-mount-name-in-our-tmp-f.patch
deleted file mode 100644
index 2848d15a..00000000
--- a/meta-mentor-staging/recipes-core/udev/udev-extraconf/0002-udev-extraconf-mount.sh-save-mount-name-in-our-tmp-f.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From befcce7e25a74424b9c4c42cecd67daea71819da Mon Sep 17 00:00:00 2001
-From: Awais Belal <awais_belal@mentor.com>
-Date: Tue, 29 Jan 2019 15:02:45 +0500
-Subject: [PATCH 2/3] udev-extraconf/mount.sh: save mount name in our tmp file
- cache
-
-Doing this will allow to fetch the exact name created by the
-auto-mounter during the remove action where depending on the
-scenario utilities such as the blkid might not be usable due
-to actual device not being present on the system.
-
-Signed-off-by: Awais Belal <awais_belal@mentor.com>
----
- mount.sh | 5 ++++-
- 1 file changed, 4 insertions(+), 1 deletion(-)
-
-Index: 1.1-r0/mount.sh
-===================================================================
---- 1.1-r0.orig/mount.sh
-+++ 1.1-r0/mount.sh
-@@ -130,7 +130,10 @@ automount() {
- rm_dir "$MOUNT_BASE/$name"
- else
- logger "mount.sh/automount" "Auto-mount of [$MOUNT_BASE/$name] successful"
-- touch "/tmp/.automount-$name"
-+ # The actual device might not be present in the remove event so blkid cannot
-+ # be used to calculate what name was generated here. Simply save the mount
-+ # name in our tmp file.
-+ echo "$name" > "/tmp/.automount-$name"
- fi
- }
-