summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2015-05-26 14:15:49 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-28 18:02:30 +0100
commit4764062664e1d4c2d484872f562c4050b413ff4e (patch)
tree157a76cad411e14c9dd9d7a4fa730ef663d169c4 /documentation
parent4ec8e88a9a7050e3943f9076becac56cd2c4b803 (diff)
downloadpoky-4764062664e1d4c2d484872f562c4050b413ff4e.tar.gz
ref-manual: Updated ARCHIVER_MODE and archiver.bbclass
Added information in about the various varflags the user can use to define the type of archive. (From yocto-docs rev: 9035c415d4453750f016fe4ea2fa8179549330ca) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r--documentation/ref-manual/ref-classes.xml3
-rw-r--r--documentation/ref-manual/ref-variables.xml24
2 files changed, 25 insertions, 2 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml
index 72295d737c..80ac232f0a 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -95,7 +95,8 @@
95 section in the Yocto Project Development Manual. 95 section in the Yocto Project Development Manual.
96 You can also see the 96 You can also see the
97 <link linkend='var-ARCHIVER_MODE'><filename>ARCHIVER_MODE</filename></link> 97 <link linkend='var-ARCHIVER_MODE'><filename>ARCHIVER_MODE</filename></link>
98 variable. 98 variable for information about the variable flags (varflags)
99 that help control archive creation.
99 </para> 100 </para>
100</section> 101</section>
101 102
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 7a5081f725..1f7604ba64 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -295,7 +295,29 @@
295 class, determines the type of information used to create 295 class, determines the type of information used to create
296 a released archive. 296 a released archive.
297 You can use this variable to create archives of patched 297 You can use this variable to create archives of patched
298 source, original source, configured source, and so forth. 298 source, original source, configured source, and so forth
299 by employing the following variable flags (varflags):
300 <literallayout class='monospaced'>
301 ARCHIVER_MODE[src] = "original" # Uses original (unpacked) source
302 # files.
303
304 ARCHIVER_MODE[src] = "patched" # Uses patched source files. This is
305 # the default.
306
307 ARCHIVER_MODE[src] = "configured" # Uses configured source files.
308
309 ARCHIVER_MODE[diff] = "1" # Uses patches between do_unpack and
310 # do_patch.
311
312 ARCHIVER_MODE[diff-exclude] ?= "<replaceable>file</replaceable> <replaceable>file</replaceable> ..." # Lists files and directories to
313 # exclude from diff.
314
315 ARCHIVER_MODE[dumpdata] = "1" # Uses environment data.
316
317 ARCHIVER_MODE[recipe] = "1" # Uses recipe and include files.
318
319 ARCHIVER_MODE[srpm] = "1" # Uses RPM package files.
320 </literallayout>
299 For information on how the variable works, see the 321 For information on how the variable works, see the
300 <filename>meta/classes/archiver.bbclass</filename> file 322 <filename>meta/classes/archiver.bbclass</filename> file
301 in the 323 in the