summaryrefslogtreecommitdiffstats
path: root/meta
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-08-04 16:29:15 +0100
commit30781732191445f164b09a4e85fd1471fddabff5 (patch)
tree4ec26adf0c7787cc80e41bb19fd9210e9e845d93 /meta
parentf16409bdfbd4d83b275f587cadb72c1c5c536b95 (diff)
downloadpoky-30781732191445f164b09a4e85fd1471fddabff5.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: aa6621dc1bc37d3e9a2aae3819619bf4e6c33bc4) 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> (cherry picked from commit ccea69032329f3ba43c727d9eb71b1d063b89824) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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