[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Support using a specific branch or tag of ioemu-remote



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1216990747 -3600
# Node ID 267a59f9580bf8694bf8a9e4b2ea3377f5262039
# Parent  ddea9c73ea7848f6b2d366606148e7610255c5b8
Support using a specific branch or tag of ioemu-remote

With this patch you can set QEMU_TAG to check out a specific version.
When we set it, QEMU_TAG ought to be in Config.mk, I think.

Signed-off-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
---
 tools/Makefile |    6 ++++++
 1 files changed, 6 insertions(+)

diff -r ddea9c73ea78 -r 267a59f9580b tools/Makefile
--- a/tools/Makefile    Fri Jul 25 13:58:23 2008 +0100
+++ b/tools/Makefile    Fri Jul 25 13:59:07 2008 +0100
@@ -78,6 +78,12 @@ ioemu-dir-find:
                        rm -rf ioemu-remote ioemu-remote.tmp; \
                        mkdir ioemu-remote.tmp; rmdir ioemu-remote.tmp; \
                        $(GIT) clone $(CONFIG_QEMU) ioemu-remote.tmp; \
+                       if [ "$(QEMU_TAG)" ]; then                      \
+                               cd ioemu-remote.tmp;                    \
+                               $(GIT) branch -D dummy >/dev/null 2>&1 ||:; \
+                               $(GIT) checkout -b dummy $(QEMU_TAG);   \
+                               cd ..;                                  \
+                       fi;                                             \
                        mv ioemu-remote.tmp ioemu-remote; \
                fi; \
                rm -f ioemu-dir; \

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.