[OE-core] new feature? (for "DL_DIR")

Saul Wold sgw at linux.intel.com
Mon Aug 22 20:27:06 UTC 2011


On 08/22/2011 04:12 AM, Gary Thomas wrote:
> On 2011-08-22 01:56, Ni Qingliang wrote:
>> Do we can assign all package be downloaded from the same path?
>>
>> I want setup one internal server to store the files in upstreamsources,
>> and all developer's PC use it but not the original package address.
>>
>
> Just add these lines to your .conf (I put them in my ${DISTRO}.conf):
> # Provide pre-staged sources
> SOURCE_MIRROR_URL ?= "file:///opt/amltd/poky/sources/"
> INHERIT += "own-mirrors"
>
> Simply point SOURCE_MIRROR_URL at your file cache.
>
You could also use PREMIRRORS in the developer's local.conf, point
PREMIRRORS for packages to your internal server (could be ftp, http or 
file when mounted via NFS).

Sau!




More information about the Openembedded-core mailing list