From 846a33ee7549d47ad93ae727daea8348af9342e8 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Mon, 4 Feb 2013 12:34:51 -0600 Subject: yocto-project-qs: Updates to how to use local directories for source The section that describes an efficient way to set up the build system to look in local areas for tarballs needed updated so that PREMIRRORS was not the focus. The example used does not even employ PREMIRRORS. So I changed wording to support the example. I also added a mention of the PREMIRRORS variable and a linked reference to it for more information. (From yocto-docs rev: 7966942e2dfad85c2eb9480d7f706355871c40ab) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- .../yocto-project-qs/yocto-project-qs.xml | 30 ++++++++++++++-------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml b/documentation/yocto-project-qs/yocto-project-qs.xml index f0d3dad138..a1c714e007 100644 --- a/documentation/yocto-project-qs/yocto-project-qs.xml +++ b/documentation/yocto-project-qs/yocto-project-qs.xml @@ -818,17 +818,19 @@ - A good deal that goes into a Yocto Project build is simply downloading all of the source - tarballs. - Maybe you have been working with another build system (OpenEmbedded or Angstrom) for which - you've built up a sizable directory of source tarballs. - Or perhaps someone else has such a directory for which you have read access. - If so, you can save time by adding the PREMIRRORS - statement to your configuration file so that the build process checks - local directories first for existing tarballs before checking the + A good deal that goes into a Yocto Project build is simply + downloading all of the source tarballs. + Maybe you have been working with another build system + (OpenEmbedded or Angstrom) for which you have built up a sizable + directory of source tarballs. + Or, perhaps someone else has such a directory for which you have + read access. + If so, you can save time by adding statements to your + configuration file so that the build process checks local + directories first for existing tarballs before checking the Internet. - Here is an efficient way to set it up in your local.conf - file: + Here is an efficient way to set it up in your + local.conf file: SOURCE_MIRROR_URL ?= "file:///home/you/your-download-dir/" INHERIT += "own-mirrors" @@ -836,6 +838,14 @@ # BB_NO_NETWORK = "1" + + + You can also use the + PREMIRRORS + variable. + For an example, see the variable's glossary entry in the + Yocto Project Reference Manual. +
-- cgit v1.2.3-54-g00ecf