[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] Update git clone command
# HG changeset patch # User Keir Fraser <keir.fraser@xxxxxxxxxx> # Date 1270624474 -3600 # Node ID 986d3b1d30fb23e4eb777cfc1754e2542be529e7 # Parent d791173ca65b36d5d371938a328942ffe707e764 Update git clone command When cloning the kernel repo: 1. make remote called "xen" rather than the default "origin" 2. directly checkout the desired branch in one step Signed-off-by: Jeremy Fitzhardinge<jeremy.fitzhardinge@xxxxxxxxxx> --- buildconfigs/src.git-clone | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff -r d791173ca65b -r 986d3b1d30fb buildconfigs/src.git-clone --- a/buildconfigs/src.git-clone Wed Apr 07 08:13:20 2010 +0100 +++ b/buildconfigs/src.git-clone Wed Apr 07 08:14:34 2010 +0100 @@ -23,9 +23,7 @@ XEN_LINUX_GITREV ?= if ! [ -d $(LINUX_SRCDIR) ]; then \ rm -rf $(LINUX_SRCDIR) $(LINUX_SRCDIR).tmp; \ mkdir $(LINUX_SRCDIR).tmp; rmdir $(LINUX_SRCDIR).tmp; \ - $(GIT) clone $(XEN_LINUX_GIT_URL) $(LINUX_SRCDIR).tmp; \ - cd $(LINUX_SRCDIR).tmp; \ - $(GIT) checkout $(XEN_LINUX_GIT_REMOTEBRANCH); \ - cd ..; mv $(LINUX_SRCDIR).tmp $(LINUX_SRCDIR); \ + $(GIT) clone -o xen -b $(XEN_LINUX_GIT_REMOTEBRANCH) $(XEN_LINUX_GIT_URL) $(LINUX_SRCDIR).tmp; \ + mv $(LINUX_SRCDIR).tmp $(LINUX_SRCDIR); \ fi touch $@ _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |