summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/closer-look.xml
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2013-09-18 13:39:18 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-22 12:20:48 +0100
commit6084246825ea764c689a5c1a04b7d560c897ba50 (patch)
tree3f99a5aeb33d32c5dda3ae6ded1dc1141bce5513 /documentation/ref-manual/closer-look.xml
parent3fa6a307c3ceeab297dfb2f2fff23eba62f2216e (diff)
downloadpoky-6084246825ea764c689a5c1a04b7d560c897ba50.tar.gz
ref-manual, yocto-project-qs: Explanations for Git tarballs
Fixes [YOCTO #5035] By default, the DL_DIR does not get files from Git repositories that are suitable for mirroring. There is a work-around by using the BB_GENERATE_MIRROR_TARBALLS variable, which, when set, causes the build system to generate tarballs for the Git repositories and place them in the DL_DIR. To address this, I added a new variable description for the BB_GENERATE_MIRROR_TARBALLS varible, updated the DL_DIR variable to indicate that "out-of-the-box" the YP puts suitable mirror files into the DL_DIR for everthing except Git repositories. Some other sections were updated where discussion revolved around pulling down source files. The QS had a spot where the BB_GENERATE_MIRROR_TARBALLS variable was actually used in an example. And, the expanded discussion on the BitBake process had a couple spots that deserved a mention. (From yocto-docs rev: 1539ff13222449ba60bfaaaac4fe1e8a795b0039) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/closer-look.xml')
-rw-r--r--documentation/ref-manual/closer-look.xml17
1 files changed, 17 insertions, 0 deletions
diff --git a/documentation/ref-manual/closer-look.xml b/documentation/ref-manual/closer-look.xml
index eccf97698a..c8f2fae94e 100644
--- a/documentation/ref-manual/closer-look.xml
+++ b/documentation/ref-manual/closer-look.xml
@@ -491,6 +491,14 @@
491 <link linkend='var-DL_DIR'><filename>DL_DIR</filename></link> 491 <link linkend='var-DL_DIR'><filename>DL_DIR</filename></link>
492 variable. 492 variable.
493 This area is a cache that can hold previously downloaded source. 493 This area is a cache that can hold previously downloaded source.
494 You can also instruct the OpenEmbedded build system to create
495 tarballs from Git repositories, which is not the default behavior,
496 and store them in the <filename>DL_DIR</filename> by using the
497 <link linkend='var-BB_GENERATE_MIRROR_TARBALLS'><filename>BB_GENERATE_MIRROR_TARBALLS</filename></link>
498 variable.
499 </para>
500
501 <para>
494 Judicious use of a <filename>DL_DIR</filename> directory can 502 Judicious use of a <filename>DL_DIR</filename> directory can
495 save the build system a trip across the Internet when looking 503 save the build system a trip across the Internet when looking
496 for files. 504 for files.
@@ -566,6 +574,15 @@
566 fetcher module. 574 fetcher module.
567 </para> 575 </para>
568 576
577 <note>
578 For information on how to have the OpenEmbedded build system
579 generate tarballs for Git repositories and place them in the
580 <link linkend='var-DL_DIR'><filename>DL_DIR</filename></link>
581 directory, see the
582 <link linkend='var-BB_GENERATE_MIRROR_TARBALLS'><filename>BB_GENERATE_MIRROR_TARBALLS</filename></link>
583 variable.
584 </note>
585
569 <para> 586 <para>
570 When fetching a repository, BitBake uses the 587 When fetching a repository, BitBake uses the
571 <link linkend='var-SRCREV'><filename>SRCREV</filename></link> 588 <link linkend='var-SRCREV'><filename>SRCREV</filename></link>