[Libguestfs] supermin: how can I avoid downloading packages everytime when run make
Richard W.M. Jones
rjones at redhat.com
Wed Jul 16 10:40:54 UTC 2014
On Wed, Jul 16, 2014 at 09:41:46AM +0800, Hu Tao wrote:
> On Wed, Jul 09, 2014 at 12:55:09PM +0100, Richard W.M. Jones wrote:
> > On Wed, Jul 09, 2014 at 10:29:44AM +0800, Hu Tao wrote:
> > > Hi,
> > >
> > > When I run make in libguestfs directory, supermin tries to redownload
> > > all packages it needs everytime. This is a blocker for me because:
> >
> > This shouldn't happen, and doesn't -- for me. The dependencies are
> > carefully set up so the appliance doesn't get rebuilt each time you do
> > make.
>
> I can't reproduce the problem now, maybe I did something before make but I
> forgot.
>
> What I can reproduce is if the download is not completed, next time when
> run make, supermin will download packages from the beginning. But once
> the download is completed, another make won't cause supermin downloading
> packages.
Also you should set up a proxy:
http://libguestfs.org/guestfs-faq.1.html#how-can-i-speed-up-libguestfs-builds
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW
More information about the Libguestfs
mailing list