summaryrefslogtreecommitdiffstats
path: root/meta/site/powerpc64-linux
diff options
context:
space:
mode:
authorMike Looijmans <mike.looijmans@topic.nl>2018-08-24 09:21:44 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-08-28 10:30:28 +0100
commitf3f4a5f29b3ced8796a411d592123b534030181c (patch)
tree5b4b0430551c906e31a02bc2132527c2cdf580ba /meta/site/powerpc64-linux
parent62917950b76a02b0d5a7bf41eccde8244804cbcc (diff)
downloadpoky-f3f4a5f29b3ced8796a411d592123b534030181c.tar.gz
busybox/mdev-mount.sh: Fix partition detect and cleanup mountpoint on fail
This fixes issues mainly seen when mounting eMMC devices: The wildcard /sys/block/${DEVBASE}/${DEVBASE}*1 matches both "mmcblk0p1" and "mmcblk0boot1" for example, and this results in syntax errors. Fix this by searching for a "partition" file instead, which only exists for real partitions and not 'fakes' like the eMMC extra's. When mount fails, the mountpoint file is left behind, causing later attempts at auto-mounting it to fail. If mount fails, remove the mountpoint, leaving the system in the state as it was before the mount attempt. (From OE-Core rev: 8645c0419456c1bd3ae15a9a7dd2b2e9a960eaf4) Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/site/powerpc64-linux')
0 files changed, 0 insertions, 0 deletions