diff options
Diffstat (limited to 'documentation')
| -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 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 |
