summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/ref-variables.xml
diff options
context:
space:
mode:
authorScott Rifenbark <srifenbark@gmail.com>2017-04-03 11:58:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-04-12 19:35:00 +0100
commite2232e6813d503db33bb2fc29b57fbb7a0f7bca0 (patch)
tree2c116e8a24028210ee89c3045c63d9711908a684 /documentation/ref-manual/ref-variables.xml
parent1d5745f959f853f3cb621b10569b780623ad2f6b (diff)
downloadpoky-e2232e6813d503db33bb2fc29b57fbb7a0f7bca0.tar.gz
dev-manual, ref-manual: Added PACKAGE_WRITE_DEPS and concept support
Fixes [YOCTO #11274] When a post-installation or pre-installation script uses tools that have dependencies, you need to specify the tools using the new PACKAGE_WRITE_DEPS variable. I added this information at the end of the "Post Installtion Scripts" section in the dev-manual. I also added a new variable entry for the PACKAGE_WRITE_DEPS variable in the glossary. (From yocto-docs rev: 4d130b63cba5ebabd4af52b62421d387a4b54353) Signed-off-by: Scott Rifenbark <srifenbark@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/ref-variables.xml')
-rw-r--r--documentation/ref-manual/ref-variables.xml25
1 files changed, 25 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml
index 758de36e70..ae2abdeddc 100644
--- a/documentation/ref-manual/ref-variables.xml
+++ b/documentation/ref-manual/ref-variables.xml
@@ -9318,6 +9318,31 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
9318 </glossdef> 9318 </glossdef>
9319 </glossentry> 9319 </glossentry>
9320 9320
9321 <glossentry id='var-PACKAGE_WRITE_DEPS'><glossterm>PACKAGE_WRITE_DEPS</glossterm>
9322 <info>
9323 PACKAGE_WRITE_DEPS[doc] = "Specifies post-installation and pre-installation script dependencies on native/cross tools."
9324 </info>
9325 <glossdef>
9326 <para role="glossdeffirst">
9327<!-- <para role="glossdeffirst"><imagedata fileref="figures/define-generic.png" /> -->
9328 Specifies a list of dependencies for post-installation and
9329 pre-installation scripts on native/cross tools.
9330 If your post-installation or pre-installation script can
9331 execute at rootfs creation time rather than on the
9332 target but depends on a native tool in order to execute,
9333 you need to list the tools in
9334 <filename>PACKAGE_WRITE_DEPENDS</filename>.
9335 </para>
9336
9337 <para>
9338 For information on running post-installation scripts, see
9339 the
9340 "<ulink url='&YOCTO_DOCS_DEV_URL;#new-recipe-post-installation-scripts'>Post-Installation Scripts</ulink>"
9341 section in the Yocto Project Development Manual.
9342 </para>
9343 </glossdef>
9344 </glossentry>
9345
9321 <glossentry id='var-PACKAGECONFIG'><glossterm>PACKAGECONFIG</glossterm> 9346 <glossentry id='var-PACKAGECONFIG'><glossterm>PACKAGECONFIG</glossterm>
9322 <info> 9347 <info>
9323 PACKAGECONFIG[doc] = "This variable provides a means of enabling or disabling features of a recipe on a per-recipe basis." 9348 PACKAGECONFIG[doc] = "This variable provides a means of enabling or disabling features of a recipe on a per-recipe basis."