mirror of
https://git.yoctoproject.org/poky
synced 2026-10-21 18:58:20 +00: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:
1 parent
ed419e2d57
commit
d65be3dd2a
2 files changed
+2
-1
No files matched your search
@@ -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