From 246438582f8a23ce1847bae230bce07fbb3c6d15 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Mon, 26 Mar 2012 14:49:38 +0800 Subject: 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] Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- scripts/runqemu | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'scripts/runqemu') diff --git a/scripts/runqemu b/scripts/runqemu index ac5facfa21..c349de081f 100755 --- a/scripts/runqemu +++ b/scripts/runqemu @@ -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 -- cgit 1.2.3-korg