From ff69fd8cbfb6c9c9a6052aa714c661f7cdc4eeea Mon Sep 17 00:00:00 2001 From: Laurent Vivier Date: Thu, 19 Oct 2017 21:16:06 +0200 Subject: [PATCH 1/3] configure: disable qemu-keymap for linux-user qemu We don't need qemu-keymap when we build only linux-user qemu. When we compile in static mode, the libxkbcommon is detected by configure if the shared one is available, but cannot be linked if the static version is not available. As we don't need it for qemu-linux-user, and we generally need a static link to use it in a chroot, disable qemu-keymap in this case. Signed-off-by: Laurent Vivier Message-id: 20171019191606.14129-1-laurent@vivier.eu Signed-off-by: Gerd Hoffmann --- configure | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure b/configure index 6f21aaf989..03547cea6a 100755 --- a/configure +++ b/configure @@ -5136,9 +5136,9 @@ if test "$softmmu" = yes ; then fi mpath=no fi -fi -if test "$xkbcommon" = "yes"; then - tools="qemu-keymap\$(EXESUF) $tools" + if test "$xkbcommon" = "yes"; then + tools="qemu-keymap\$(EXESUF) $tools" + fi fi # Probe for guest agent support/options From 2fb6eeace5fd2b693b3f26a7e20e046236a4b5cd Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Fri, 20 Oct 2017 09:09:14 +0200 Subject: [PATCH 2/3] ui: add qemu-keymap and shader to .gitignore Signed-off-by: Gerd Hoffmann Reviewed-by: Eric Blake Message-id: 20171020070914.7785-1-kraxel@redhat.com --- .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 620eec6b47..588769b250 100644 --- a/.gitignore +++ b/.gitignore @@ -14,6 +14,7 @@ /trace/generated-tcg-tracers.h /ui/shader/texture-blit-frag.h /ui/shader/texture-blit-vert.h +/ui/shader/texture-blit-flip-vert.h /ui/input-keymap-*.c *-timestamp /*-softmmu @@ -45,6 +46,7 @@ /qemu-io /qemu-ga /qemu-bridge-helper +/qemu-keymap /qemu-monitor.texi /qemu-monitor-info.texi /qemu-version.h From 8172bdb2d0c829462f8c4fb2cb54a768d295a747 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Fri, 20 Oct 2017 14:07:48 +0100 Subject: [PATCH 3/3] scripts: don't throw away stderr when checking out git submodules The stderr from git is important if git fails to checkout modules due to network problems, or other unexpected errors. Signed-off-by: Daniel P. Berrange Reviewed-by: Peter Maydell Message-id: 20171020130748.22983-1-berrange@redhat.com Signed-off-by: Gerd Hoffmann --- scripts/git-submodule.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/git-submodule.sh b/scripts/git-submodule.sh index d8fbc7e47e..08932a35f0 100755 --- a/scripts/git-submodule.sh +++ b/scripts/git-submodule.sh @@ -32,7 +32,7 @@ status) exit $? ;; update) - git submodule update --init $modules 1>/dev/null 2>&1 + git submodule update --init $modules 1>/dev/null git submodule status $modules > "${substat}" ;; esac