[Libguestfs] febootstrap and download packages

Richard W.M. Jones rjones at redhat.com
Tue Dec 18 13:37:26 UTC 2012


On Tue, Dec 18, 2012 at 02:57:33PM +0200, Evaggelos Balaskas wrote:
> Something that i would like to have, is the ability to keep the
> download packages in a temp directory when using febootstrap.

I use squid:

http://libguestfs.org/guestfs-faq.1.html#how-can-i-speed-up-libguestfs-builds-

Make sure you configure it as outlined in the link, because the
default squid configuration is not suitable.

> On my machine i've found two solutions:
> a. creating a custom local repo and move it to the top of my
> pacman.conf, so it would access this local repo without the need of
> internet

This would also work, but there's no way (yet) to pass a local repo to
the pacman plugin.  Unlike the yum plugin, where there is such a
feature.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://et.redhat.com/~rjones/virt-top




More information about the Libguestfs mailing list