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

Re: [Xen-users] building from source: caching qemu-xen-dir into /tools



On Wed, 2014-09-03 at 19:29 -0700, Mark Pryor wrote:
> Xen Masters,
> 
> 1)http://xenbits.xen.org/git-http/qemu-upstream-4.4-testing.git
> 
> 
> This below repo is used by ./Config.mk to populate via git clone:
> 
> ./tools/qemu-xen-dir-remote
> 
> 2)http://xenbits.xen.org/git-http/qemu-xen-4.4-testing.git
> 
> I am not sure about the difference between the two, but 2) is the important 
> repo if building from source, lately.
> 
> 
> 
> My main question:
> If I run (independently from the build)
> git clone git://xenbits.xen.org/qemu-xen-4.4-testing.git
> 
> 
> and clone into a local folder. Can I zip that folder up and drop it
> into ./tools in order to cache the qemu upstream? This is in an effort to
> not create so much internet traffic, if I need to build 5 times over the day.

Not quite what you are asking but if you look in xen/Config.mk you'll
see some variables which point to the URL for various subsidiary git
trees, you can override those into local paths if you want.

I think you can unzip a qemu tarball into tools, but I'm not sure how
that works.

> Will the Makefile script detect that the ./tools/qemu-xen-dir folder
> already exists and skip the download?

I think so? If it is cloned then this will be a link to
qemu-xen-dir-remote, otherwise it is used as is.

Ian.


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

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