From 21469e0ef6278e9a932f17ac9ec09944ace53a95 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Tue, 26 May 2015 14:15:49 -0600 Subject: 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 Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 3 ++- 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 8fdce8ef0a..75f9d20e0d 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 ARCHIVER_MODE - variable. + variable for information about the variable flags (varflags) + that help control archive creation. 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 @@ 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): + + 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] ?= "file file ..." # 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. + For information on how the variable works, see the meta/classes/archiver.bbclass file in the -- cgit v1.2.3-54-g00ecf