On 22 April 2010 03:28, Miklos Vajna <[email protected]> wrote:
> On Wed, Apr 21, 2010 at 09:34:56AM +1000, Russell Dickenson 
> <[email protected]> wrote:
>> I have finally decided to get something better than dial-up Internet
>> access. Unfortunately it's not *that* much better because it's
>> wireless and has a monthly download limit of 3 GB (before speed is
>> throttled to 64 Kb). With improved Internet access I hope to be able
>> to contribute with package updates where only minor changes are
>> required - e.g. a n application is upgraded and perhaps has one new
>> runtime dependency.
>>
>> What's the best way for me to be able to do with while minimising the
>> necessary downloads (from 'current')? I know pacman-g2.conf allows for
>> custom repositories, but is this also available in a chroot?
>
> Yes, if you for example set up an ftp server on 127.0.0.1. But that's
> required usually only in case you add libfoo and then foo depends on
> libfoo, but you want to test foo before libfoo is accepted in current.

That wasn't exactly what I was thinking of having a local repo for,
but it makes sense in that situation. I will file that away in my
brain for when I need it.

>> My
>> thoughts were that perhaps I would not have makepkg delete the
>> chroot's downloaded packages, but I'm not sure if this is considered
>> risky.
>
> That does not cause bandwidth problems, the packages are downloaded only
> once, then they are reused from /var/cache/pacman-g2 from the host
> filesystem.

OK - then I misunderstood. If I understand correctly then, if I am
running 1.2 and want to build a package for current, I need to have
available in pacman-g2's package cache folder those packages which the
build requires. To minimise bandwidth usage, I could download perhaps
most/all of current's packages from a location which has no bandwidth
restrictions and copy them to my PC's pacman-g2 package cache folder.
If makepkg needed a package it would check the cache folder and
extract it from there, otherwise it would download it from a
Frugalware mirror.


May you always be Frugal,

Russell Dickenson (AKA phayz)
_______________________________________________
Frugalware-devel mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-devel

Reply via email to