diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-04-23 12:21:06 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-04-23 12:21:06 +0100 |
commit | d65be3dd2aaa643b5596c8470caf7f291513efee (patch) | |
tree | 55b3e8f7db23c38093464fca575d33cf8df6e800 /meta/packages/initrdscripts/files | |
parent | ed419e2d5773767d904679e18530998839b5f289 (diff) | |
download | openembedded-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.sh | 1 |
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 |