Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] scripts/runqemu: Make it run on ubuntu 11.10
@ 2011-08-08  6:30 Khem Raj
  2011-08-11 21:29 ` Saul Wold
  0 siblings, 1 reply; 2+ messages in thread
From: Khem Raj @ 2011-08-08  6:30 UTC (permalink / raw)
  To: openembedded-core

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@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.
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] scripts/runqemu: Make it run on ubuntu 11.10
  2011-08-08  6:30 [PATCH] scripts/runqemu: Make it run on ubuntu 11.10 Khem Raj
@ 2011-08-11 21:29 ` Saul Wold
  0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2011-08-11 21:29 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On 08/07/2011 11:30 PM, Khem Raj wrote:
> 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@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.

Merged into OE-Core

Thanks
	Sau!



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-08-11 21:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-08  6:30 [PATCH] scripts/runqemu: Make it run on ubuntu 11.10 Khem Raj
2011-08-11 21:29 ` Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox