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

Gary Thomas gary at mlbassoc.com
Mon Aug 22 11:12:28 UTC 2011


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.

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------




More information about the Openembedded-core mailing list