diff options
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 24 |
1 files changed, 23 insertions, 1 deletions
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 |