[Fedora-livecd-list] Caching downloaded RPMs
Jane Dogalt
jdogalt at yahoo.com
Sat Mar 31 21:37:03 UTC 2007
--- "J. Christopher Pereira Z." <kripper at imatronix.cl> wrote:
> Hi:
>
> 1) I'm building a LiveCD using a remote repository.
> Everytime I restart the task, the packages are being redownloaded
> into the temporal/mounted dir.
> Is there any option for caching the downloaded packages?
The two methods I've used to solve the same problem are
1) squid
- you need to yum install, then briefly configure, then get it so the
livecd tool utilizes a yum configuration with the specified localhost
http proxy (or I think there was also a way to utilize the squid proxy
by getting some http proxy environment variable set correctly).
2) just maintain a mirror. I use lftp to maintain a personal mirror of
extras and updates. You could probably write a script to maintain a
subset mirror if for some reason you really wanted that, but (1) still
wasn't preferable.
I do think that this is such a fundamental aspect of doing serious work
with creating livecds that the interface for mirror/cache management
should be tightly integrated with the livecd creator tool (in the long
run).
-dmc/jdog
>
> PS: I'm on FC6 building a FC7 live CD.
>
> 2) If there is no option or trick for caching, how can I download
> only some packages (+ dependencies) into my local repository for
> building a minimal LiveCD.
>
> Thanks.
>
> J. Christopher Pereira
> Area Informática
> IMATRONIX S.A.
> (08) 573 45 18
>
>
>
--------------------------------------------------------------------------------
> I am using the free version of SPAMfighter for private users.
> It has removed 11972 spam emails to date.
> Paying users do not have this message in their emails.
> Try SPAMfighter for free now!
> > --
> Fedora-livecd-list mailing list
> Fedora-livecd-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-livecd-list
>
____________________________________________________________________________________
Get your own web address.
Have a HUGE year through Yahoo! Small Business.
http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
More information about the Fedora-livecd-list
mailing list