mirror of
https://git.yoctoproject.org/poky
synced 2026-05-04 22:39:49 +02:00
initramfs-live-boot: Fix script when multiple mounts are present and the last one isn't the correct one
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
@@ -58,6 +58,7 @@ do
|
||||
for i in `ls /media 2>/dev/null`; do
|
||||
if [ -f /media/$i/$ROOT_IMAGE ] ; then
|
||||
found="yes"
|
||||
break
|
||||
fi
|
||||
done
|
||||
if [ "$found" = "yes" ]; then
|
||||
|
||||
Reference in New Issue
Block a user