diff options
author | Ming Liu <liu.ming50@gmail.com> | 2022-07-20 12:10:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-07-23 13:55:13 +0100 |
commit | ccea69032329f3ba43c727d9eb71b1d063b89824 (patch) | |
tree | 41a8c6254c718d5e947f05749f9ad9b91796e223 /meta/recipes-core/udev | |
parent | f1d7c33b649e5bccdba2ea57e5d6f709b7fb2af4 (diff) | |
download | openembedded-core-ccea69032329f3ba43c727d9eb71b1d063b89824.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.
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.sh | 2 |
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() { rm_dir "$MOUNT_BASE/$name" else logger "mount.sh/automount" "Auto-mount of [$MOUNT_BASE/$name] successful" - touch "/tmp/.automount-$name" + echo "$name" > "/tmp/.automount-$name" fi } |