diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2015-05-26 14:15:49 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-21 23:11:38 +0100 |
commit | 21469e0ef6278e9a932f17ac9ec09944ace53a95 (patch) | |
tree | 6c41524ec6dca396d1c190ab0a0b406d7ac7c1a9 | |
parent | a142b2265a56fe0131725190d772af165c1e0346 (diff) | |
download | ast2050-yocto-poky-21469e0ef6278e9a932f17ac9ec09944ace53a95.zip ast2050-yocto-poky-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.xml | 3 | ||||
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 24 |
2 files changed, 25 insertions, 2 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 8fdce8e..75f9d20 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -79,7 +79,8 @@ section in the Yocto Project Development Manual. You can also see the <link linkend='var-ARCHIVER_MODE'><filename>ARCHIVER_MODE</filename></link> - variable. + variable for information about the variable flags (varflags) + that help control archive creation. </para> </section> diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 7a5081f..1f7604b 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -295,7 +295,29 @@ class, determines the type of information used to create a released archive. You can use this variable to create archives of patched - source, original source, configured source, and so forth. + source, original source, configured source, and so forth + by employing the following variable flags (varflags): + <literallayout class='monospaced'> + ARCHIVER_MODE[src] = "original" # Uses original (unpacked) source + # files. + + ARCHIVER_MODE[src] = "patched" # Uses patched source files. This is + # the default. + + ARCHIVER_MODE[src] = "configured" # Uses configured source files. + + ARCHIVER_MODE[diff] = "1" # Uses patches between do_unpack and + # do_patch. + + ARCHIVER_MODE[diff-exclude] ?= "<replaceable>file</replaceable> <replaceable>file</replaceable> ..." # Lists files and directories to + # exclude from diff. + + ARCHIVER_MODE[dumpdata] = "1" # Uses environment data. + + ARCHIVER_MODE[recipe] = "1" # Uses recipe and include files. + + ARCHIVER_MODE[srpm] = "1" # Uses RPM package files. + </literallayout> For information on how the variable works, see the <filename>meta/classes/archiver.bbclass</filename> file in the |