Limit emerge's "wget" bandwidth usage
The answer to supplying custom arguments to portage's download command is exactly where it should be - in a man page.
equery files portage
will list them, it's in section 5
On 06 Jan 2010 8:38 PM, "Ricardo Saffi Marques" <saffi@las.ic.unicamp.br> wrote:
Is there any way I can configure (pass arguments to) emerge's "wget" (used for fetching) to limit it's rate to a certain amount
of KB/s?
I don't want to make a global/system-wide change, just for portage.
I did find a way to limit the bandwidth while syncing. All I had to do was to put this on my /etc/make.conf:
PORTAGE_RSYNC_EXTRA_OPTS="--partial --progress --delete-after --human-readable --bwlimit=50"
(for instance).
I do know there is parameter for wget, which is "--limitrate". Any way I could set this inside portage?
Regards,
Saffi
--
Ricardo Saffi Marques
http://www.las.ic.unicamp.br/~saffi/
================================================== ====
Laboratory of System Administration and Security - LAS
Institute of Computing - IC
P.O. Box: 6176
University of Campinas - UNICAMP
13083-852, Campinas, SP, Brazil
================================================== ====
|