i'm trying to use RESTRICT="nomirror" in an ebuild to avoid trying to download from mirrors and instead download straight from the SRC_URI. this doesn't work and emerge still tries to d/l from the mirrors first. (i also tried RESTRICT="mirror", as this was suggested by seemant. it didn't work either) Reproducible: Always Steps to Reproduce: 1. 2. 3. Actual Results: emerge tries to d/l package from locations in GENTOO_MIRRORS Expected Results: emerge immediately downloads from SRC_URI
Ummmm... nomirror disables fetching completely IF you're mirroring... FEATURES=mirror emerge blah <---- Is mirroring. RESTRICT=fetch means don't ever download it. It will always try the mirror first. But should always fail as it wouldn't be mirrored due to restrict=nomirror
ah, sorry about that. seemant told me that if i had an ebuild whose tarball can only be downloaded from the author (license disallows redistribution) i should put RESTRICT="nomirror" in the ebuild. i assumed this meant it would always pull from SRC_URI and ignore GENTOO_MIRRORS. man, that whole assuming thing, eh? i'm closing this. sorry for the noise.