mirror of
https://git.yoctoproject.org/poky
synced 2026-04-25 15:32:13 +02:00
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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user