Skip to contentSkip to conversation

qemu: add fedora pkg names when build failed

PATCH Applied Robert Yang 2 participants 3 messages Mar 26, 2012

lore
Share & tools
lore
#0 lore raw

cover qemu: add fedora pkg names when build failed

The following changes since commit fb3e59c88eda5ee3a53ad04aafaa7b749ecc1cc2:

core-image-minimal-mtdutils.bb: Simple DESCRIPTION grammar fix. (2012-03-25 12:27:43 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib robert/qemu
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=robert/qemu

Robert Yang (1):
qemu: add fedora pkg names when build failed

 meta/recipes-devtools/qemu/qemu.inc |    3 ++-
 scripts/runqemu                     |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
#1 lore raw

PATCH 1/1 qemu: add fedora pkg names when build failed

When qemu build failed, we can see such messages:

You need libGL.so and libGLU.so to exist in your library path and the development headers for SDL installed to build qemu-native.

Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and libsdl1.2-dev

These pkgs have different names on Fedora distributions, and Fedora is one the
main linux distributions, so add Fedora package names.

The following Fedora versions have these pkgs:

	Fedora 9 64bit
	Fedora 13 32bit
	Fedora 13 64bit
	Fedora 16 64bit

[YOCTO #2174]

---
 meta/recipes-devtools/qemu/qemu.inc |    3 ++-
 scripts/runqemu                     |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
meta/recipes-devtools/qemu/qemu.inc +2 -1
index 307a205..8dee060 100644
@@ -33,7 +33,8 @@ do_configure_prepend_virtclass-native() {
 
     if [ "$libsdl" != 'yes' -o "$libgl" != 'yes' ]; then
        echo "You need libGL.so and libGLU.so to exist in your library path and the development headers for SDL installed to build qemu-native.
-       Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and libsdl1.2-dev"
+       Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and libsdl1.2-dev.
+       Fedora package names are: mesa-libGL mesa-libGLU SDL-devel."
        exit 1;
     fi
 }
scripts/runqemu +2 -1
index ac5facf..c349de0 100755
@@ -406,7 +406,8 @@ test -e /usr/lib/*-linux-gnu/libGL.so -a -e /usr/lib/*-linux-gnu/libGLU.so && li
 
 if [ "$libgl" != 'yes' ]; then
     echo "You need libGL.so and libGLU.so to exist in your library path to run the QEMU emulator.
-    Ubuntu package names are: libgl1-mesa-dev and libglu1-mesa-dev."
+    Ubuntu package names are: libgl1-mesa-dev and libglu1-mesa-dev.
+    Fedora package names are: mesa-libGL mesa-libGLU."
     exit 1;
 fi
 
Signature · 1 line
1.7.1
#2 lore raw
Quoted 18 lines · Robert Yang

When qemu build failed, we can see such messages:

You need libGL.so and libGLU.so to exist in your library path and the development headers for SDL installed to build qemu-native.

Ubuntu package names are: libgl1-mesa-dev, libglu1-mesa-dev and libsdl1.2-dev

These pkgs have different names on Fedora distributions, and Fedora is one the
main linux distributions, so add Fedora package names.

The following Fedora versions have these pkgs:

	Fedora 9 64bit
	Fedora 13 32bit
	Fedora 13 64bit
	Fedora 16 64bit
Quoted 7 lines

[YOCTO #2174]

---
 meta/recipes-devtools/qemu/qemu.inc |    3 ++-
 scripts/runqemu                     |    3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard