summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev
diff options
context:
space:
mode:
authorMing Liu <liu.ming50@gmail.com>2022-07-20 12:10:51 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-07-23 13:55:26 +0100
commit8a6f8570922594c45140489a78b5e79268c2ab0a (patch)
tree2a80820f05e1a8139f1ac5bf67fa025b7ec84d1c /meta/recipes-core/udev
parente0a76cfdd46522fc4788ac72fc16d28a9cceec6e (diff)
downloadpoky-8a6f8570922594c45140489a78b5e79268c2ab0a.tar.gz
udev-extraconf:mount.sh: fix a umount issue
Only touching /tmp/.automount-$name is not good enough, it must contain the mount name, otherwise umount could not get the path from it. (From OE-Core rev: ccea69032329f3ba43c727d9eb71b1d063b89824) Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev')
-rw-r--r--meta/recipes-core/udev/udev-extraconf/mount.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/udev/udev-extraconf/mount.sh b/meta/recipes-core/udev/udev-extraconf/mount.sh
index 43acb3a7a0..b7e86dbc0e 100644
--- a/meta/recipes-core/udev/udev-extraconf/mount.sh
+++ b/meta/recipes-core/udev/udev-extraconf/mount.sh
@@ -89,7 +89,7 @@ automount_systemd() {
89 rm_dir "$MOUNT_BASE/$name" 89 rm_dir "$MOUNT_BASE/$name"
90 else 90 else
91 logger "mount.sh/automount" "Auto-mount of [$MOUNT_BASE/$name] successful" 91 logger "mount.sh/automount" "Auto-mount of [$MOUNT_BASE/$name] successful"
92 touch "/tmp/.automount-$name" 92 echo "$name" > "/tmp/.automount-$name"
93 fi 93 fi
94} 94}
95 95