[oe-commits] Khem Raj : scripts/runqemu: Make it run on ubuntu 11.10
git version control
git at git.openembedded.org
Thu Aug 11 18:23:57 UTC 2011
Module: openembedded-core.git
Branch: master
Commit: 8d80918995a15663db7cc9c0683d45ee8ba7d45c
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=8d80918995a15663db7cc9c0683d45ee8ba7d45c
Author: Khem Raj <raj.khem at gmail.com>
Date: Sun Aug 7 23:30:02 2011 -0700
scripts/runqemu: Make it run on ubuntu 11.10
location of libGL has moved in ubuntu 11.10
so we look for it in the new locations
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
scripts/runqemu | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/scripts/runqemu b/scripts/runqemu
index 9611c64..2b8e88a 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -388,6 +388,7 @@ libgl='no'
test -e /usr/lib/libGL.so -a -e /usr/lib/libGLU.so && libgl='yes'
test -e /usr/lib64/libGL.so -a -e /usr/lib64/libGLU.so && libgl='yes'
+test -e /usr/lib/`uname -i`-linux-gnu/libGL.so -a -e /usr/lib/`uname -i`-linux-gnu/libGLU.so && libgl='yes'
if [ "$libgl" != 'yes' ]; then
echo "You need libGL.so and libGLU.so to exist in your library path to run the QEMU emulator.
More information about the Openembedded-commits
mailing list