diff options
author | Michael Ho <Michael.Ho@bmw.de> | 2020-05-25 10:41:18 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-27 11:05:04 +0100 |
commit | 392ba004f42be2fd9dcf121d3dfa5b414ff83f93 (patch) | |
tree | 5d378b68bd73a068fd131721db3f6a2c3ee51357 /documentation/ref-manual | |
parent | 7561eb32a01f7990ad4a4606ac97ebe2a659e029 (diff) | |
download | poky-392ba004f42be2fd9dcf121d3dfa5b414ff83f93.tar.gz |
ref-manual: add PACKAGE_ADD_METADATA documentation
Add a basic variable definition and a small section to the development
tasks manual for using PACKAGE_ADD_METADATA to add custom metadata to
packages.
(From yocto-docs rev: c5e4d575a771ddd1c970389ce3ace6d6abe68769)
Signed-off-by: Michael Ho <Michael.Ho@bmw.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual')
-rw-r--r-- | documentation/ref-manual/ref-variables.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 364cd09eb8..657f6cf3d2 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml | |||
@@ -9539,6 +9539,40 @@ | |||
9539 | </glossdef> | 9539 | </glossdef> |
9540 | </glossentry> | 9540 | </glossentry> |
9541 | 9541 | ||
9542 | <glossentry id='var-PACKAGE_ADD_METADATA'><glossterm>PACKAGE_ADD_METADATA</glossterm> | ||
9543 | <info> | ||
9544 | PACKAGE_ADD_METADATA[doc] = "This variable defines additional metadata to add to packages." | ||
9545 | </info> | ||
9546 | <glossdef> | ||
9547 | <para role="glossdeffirst"> | ||
9548 | <!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> --> | ||
9549 | This variable defines additional metdata to add to packages. | ||
9550 | </para> | ||
9551 | |||
9552 | <para> | ||
9553 | You may find you need to inject additional metadata into | ||
9554 | packages. This variable allows you to do that by setting | ||
9555 | the injected data as the value. Multiple fields can be | ||
9556 | added by splitting the content with the literal separator | ||
9557 | "\n". | ||
9558 | </para> | ||
9559 | |||
9560 | <para> | ||
9561 | The suffixes '_IPK', '_DEB', or '_RPM' can be applied to | ||
9562 | the variable to do package type specific settings. It can | ||
9563 | also be made package specific by using the package name as | ||
9564 | a suffix. | ||
9565 | </para> | ||
9566 | |||
9567 | <para> | ||
9568 | You can find out more about applying this variable in | ||
9569 | the | ||
9570 | "<ulink url='&YOCTO_DOCS_DEV_URL;#adding-custom-metadata-to-packages'>Adding custom metadata to packages</ulink>" | ||
9571 | section in the Yocto Project Development Tasks Manual. | ||
9572 | </para> | ||
9573 | </glossdef> | ||
9574 | </glossentry> | ||
9575 | |||
9542 | <glossentry id='var-PACKAGE_ARCH'><glossterm>PACKAGE_ARCH</glossterm> | 9576 | <glossentry id='var-PACKAGE_ARCH'><glossterm>PACKAGE_ARCH</glossterm> |
9543 | <info> | 9577 | <info> |
9544 | PACKAGE_ARCH[doc] = "The architecture of the resulting package or packages." | 9578 | PACKAGE_ARCH[doc] = "The architecture of the resulting package or packages." |