Files
poky/meta/recipes-core
Mike Looijmans f3f4a5f29b 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>
2018-08-28 10:30:28 +01:00
..
2018-07-30 12:44:34 +01:00
2018-08-23 18:02:23 +01:00
2018-08-20 17:38:23 +01:00
2017-06-12 15:08:30 +01:00
2015-01-23 11:36:27 +00:00
2018-03-09 09:17:02 -08:00
2018-03-08 10:39:32 -08:00
2018-08-15 09:44:33 +01:00
2018-07-04 00:02:16 +01:00
2017-01-19 22:47:21 +00:00
2018-07-30 12:44:35 +01:00
2018-03-09 09:17:04 -08:00