summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/engine.py
diff options
context:
space:
mode:
authorRobert Tiemann <rtie@gmx.de>2025-10-02 11:59:25 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-10-06 17:01:10 +0100
commit898731ef0027cf3f05d1ee59d99698af3cfef9b6 (patch)
tree0605d3765de81c5aaba03d68c5768a11270eeb0e /scripts/lib/wic/engine.py
parent36687d227194bee38b6f245e425245fb23265f37 (diff)
downloadpoky-898731ef0027cf3f05d1ee59d99698af3cfef9b6.tar.gz
udev-extraconf: Avoid slashes in mountpoint names
Devices with labels such as "Hello/World/Foo/Bar" cause mount.sh to create the directory structure @MOUNT_BASE@/Hello/World/Foo/Bar. The partition is mounted to the nested "Bar" directory. On device removal, the directory structure is not cleaned up. This commit replaces all forward slashes in partition labels by underscores to avoid this edge case. (From OE-Core rev: c59a2073ac282b0b517d7b51ff124c2ab76a84e1) Signed-off-by: Robert Tiemann <rtie@gmx.de> Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/engine.py')
0 files changed, 0 insertions, 0 deletions