summaryrefslogtreecommitdiffstats
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-10-21 23:11:38 +0100
commit21469e0ef6278e9a932f17ac9ec09944ace53a95 (patch)
tree6c41524ec6dca396d1c190ab0a0b406d7ac7c1a9
parenta142b2265a56fe0131725190d772af165c1e0346 (diff)
downloadpoky-21469e0ef6278e9a932f17ac9ec09944ace53a95.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: b3dbe2410e67c3b9988d11c8f9e105c4d01ce22e) Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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 8fdce8ef0a..75f9d20e0d 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -79,7 +79,8 @@
79 section in the Yocto Project Development Manual. 79 section in the Yocto Project Development Manual.
80 You can also see the 80 You can also see the
81 <link linkend='var-ARCHIVER_MODE'><filename>ARCHIVER_MODE</filename></link> 81 <link linkend='var-ARCHIVER_MODE'><filename>ARCHIVER_MODE</filename></link>
82 variable. 82 variable for information about the variable flags (varflags)
83 that help control archive creation.
83 </para> 84 </para>
84</section> 85</section>
85 86
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