From: Ni Qingliang <niqingliang@insigma.com.cn>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: new feature? (for "DL_DIR")
Date: Tue, 23 Aug 2011 09:01:31 +0800 [thread overview]
Message-ID: <1314061291.1341.0.camel@localhost.localdomain> (raw)
In-Reply-To: <4E52C33A.6030807@mlbassoc.com>
THANKS! I will try it!
On Tue, 2011-08-23 at 04:59 +0800, Gary Thomas wrote:
> On 2011-08-22 14:55, Gary Thomas wrote:
> > On 2011-08-22 14:27, Saul Wold wrote:
> >> 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).
> >
> > But then you end up typing all the patterns for the various file types, etc.
> >
> > own-mirrors does all that for you by creating a PREMIRRORS variable based
> > on the single SOURCE_MIRROR_URL
>
> Also, to be used as a complete cache, SOURCE_MIRROR_URL should point
> to the same cache directory as DL_DIR does. So I really should have
> said
> # Provide pre-staged sources
> DL_DIR = "/opt/amltd/poky/sources"
> SOURCE_MIRROR_URL = "file://${DL_DIR}/"
> INHERIT += "own-mirrors"
>
> --
> ------------------------------------------------------------
> Gary Thomas | Consulting for the
> MLB Associates | Embedded world
> ------------------------------------------------------------
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
--
Yi Qingliang
倪庆亮
Insigma
next prev parent reply other threads:[~2011-08-23 1:06 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-22 6:37 [PATCH 0/1] cronie: Updates to cronie wenzong.fan
2011-08-22 6:37 ` [PATCH 1/1] " wenzong.fan
2011-08-22 7:56 ` new feature? (for "DL_DIR") Ni Qingliang
2011-08-22 11:12 ` Gary Thomas
2011-08-22 20:27 ` Saul Wold
2011-08-22 20:55 ` Gary Thomas
2011-08-22 20:59 ` Gary Thomas
2011-08-23 1:01 ` Ni Qingliang [this message]
2011-08-26 2:27 ` Ni Qingliang
2011-08-26 2:47 ` Ni Qingliang
2011-08-26 8:38 ` Gary Thomas
2011-08-24 22:48 ` [PATCH 0/1] cronie: Updates to cronie Saul Wold
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1314061291.1341.0.camel@localhost.localdomain \
--to=niqingliang@insigma.com.cn \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox