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!
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core