summaryrefslogtreecommitdiff
path: root/meta/packages/initrdscripts/files
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-04-23 12:21:06 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-04-23 12:21:06 +0100
commitd65be3dd2aaa643b5596c8470caf7f291513efee (patch)
tree55b3e8f7db23c38093464fca575d33cf8df6e800 /meta/packages/initrdscripts/files
parented419e2d5773767d904679e18530998839b5f289 (diff)
downloadopenembedded-core-d65be3dd2aaa643b5596c8470caf7f291513efee.tar.gz
openembedded-core-d65be3dd2aaa643b5596c8470caf7f291513efee.tar.bz2
openembedded-core-d65be3dd2aaa643b5596c8470caf7f291513efee.zip
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>
Diffstat (limited to 'meta/packages/initrdscripts/files')
-rw-r--r--meta/packages/initrdscripts/files/init-live.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/packages/initrdscripts/files/init-live.sh b/meta/packages/initrdscripts/files/init-live.sh
index d4e53713ef..c96b1f47c3 100644
--- a/meta/packages/initrdscripts/files/init-live.sh
+++ b/meta/packages/initrdscripts/files/init-live.sh
@@ -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