]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
ref-manual: Updated the ROOTFS_POSTPROCESS_COMMAND variable description.
authorScott Rifenbark <scott.m.rifenbark@intel.com>
Mon, 16 Sep 2013 17:11:28 +0000 (10:11 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 22 Sep 2013 11:20:44 +0000 (12:20 +0100)
Fixes [YOCTO #2808]

Review comments from Paul.

(From yocto-docs rev: d8ab45eb0533ccbcc9ec34105b5fe4163122bc4a)

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
documentation/ref-manual/ref-variables.xml

index 7025041f232d1c852def6bfc215e3cc741a1e433..a5d5ea2ab9c03a8c8333860c89d115f97fca16fc 100644 (file)
@@ -714,7 +714,7 @@ Core layer for images cannot be removed
             <glossdef>
                 <para>
                     Points to the server that runs memory-resident BitBake.
-                    This variable is set by the 
+                    This variable is set by the
                     <link linkend='structure-memres-core-script'><filename>oe-init-build-env-memres</filename></link>
                     setup script and should not be hand-edited.
                     The variable is only used when you employ memory-resident
@@ -723,10 +723,10 @@ Core layer for images cannot be removed
                     <literallayout class='monospaced'>
      export BBSERVER=localhost:$port
                     </literallayout>
-                    For more information on how the 
-                    <filename>BBSERVER</filename> is used, see the 
+                    For more information on how the
+                    <filename>BBSERVER</filename> is used, see the
                     <filename>oe-init-build-env-memres</filename> script, which
-                    is located in the 
+                    is located in the
                     <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>.
                 </para>
             </glossdef>
@@ -789,9 +789,9 @@ Core layer for images cannot be removed
                     <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>.
                     You can define this directory indirectly through the
                     <link linkend='structure-core-script'><filename>&OE_INIT_FILE;</filename></link>
-                    and 
+                    and
                     <link linkend='structure-memres-core-script'><filename>oe-init-build-env-memres</filename></link>
-                    scripts by passing in a Build Directory path when you run 
+                    scripts by passing in a Build Directory path when you run
                     the scripts.
                     If you run the scripts and do not provide a Build Directory
                     path, the <filename>BUILDDIR</filename> defaults to
@@ -1230,39 +1230,39 @@ Core layer for images cannot be removed
         <glossentry id='var-DL_DIR'><glossterm>DL_DIR</glossterm>
             <glossdef>
                 <para>
-                    The central download directory used by the build process to 
+                    The central download directory used by the build process to
                     store downloads.
-                    You can set this directory by defining the 
-                    <filename>DL_DIR</filename> variable in the 
+                    You can set this directory by defining the
+                    <filename>DL_DIR</filename> variable in the
                     <filename>/conf/local.conf</filename> file.
                     This directory is self-maintaining and you should not have
                     to touch it.
-                    By default, the directory is <filename>downloads</filename> 
+                    By default, the directory is <filename>downloads</filename>
                     in the
                     <ulink url='&YOCTO_DOCS_DEV_URL;#build-directory'>Build Directory</ulink>.
                     <literallayout class='monospaced'>
      #DL_DIR ?= "${TOPDIR}/downloads"
                     </literallayout>
-                    To specify a different download directory, simply remove 
+                    To specify a different download directory, simply remove
                     the comment from the line and provide your directory.
                 </para>
 
                 <para>
-                    During a first build, the system downloads many different 
+                    During a first build, the system downloads many different
                     source code tarballs from various upstream projects.
                     Downloading can take a while, particularly if your network
                     connection is slow.
                     Tarballs are all stored in the directory defined by
-                    <filename>DL_DIR</filename> and the build system looks there 
+                    <filename>DL_DIR</filename> and the build system looks there
                     first to find source tarballs.
                     <note>
-                        When wiping and rebuilding, you can preserve this 
+                        When wiping and rebuilding, you can preserve this
                         directory to speed up this part of subsequent builds.
                     </note>
                 </para>
 
                 <para>
-                    You can safely share this directory between multiple builds 
+                    You can safely share this directory between multiple builds
                     on the same development machine.
                     For additional information on how the build process gets
                     source files when working behind a firewall or proxy server,
@@ -1801,25 +1801,25 @@ Core layer for images cannot be removed
         <glossentry id='var-IMAGE_CLASSES'><glossterm>IMAGE_CLASSES</glossterm>
             <glossdef>
                 <para>
-                    A list of classes that all images should inherit.  
-                    You typically use this variable to specify the list of 
-                    classes that register the different types of images 
+                    A list of classes that all images should inherit.
+                    You typically use this variable to specify the list of
+                    classes that register the different types of images
                     the OpenEmbedded build system creates.
                 </para>
 
                 <para>
                     The default value for <filename>IMAGE_CLASSES</filename> is
                     <filename>image_types.bbclass</filename>.
-                    You can set this variable in your 
-                    <filename>local.conf</filename> or in a distribution 
+                    You can set this variable in your
+                    <filename>local.conf</filename> or in a distribution
                     configuration file.
                 </para>
 
                 <para>
-                    For more information, see  
+                    For more information, see
                     <filename>meta/classes/image_types.bbclass</filename> in the
                     <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>.
-                </para> 
+                </para>
             </glossdef>
         </glossentry>
 
@@ -1982,7 +1982,7 @@ Core layer for images cannot be removed
         <glossentry id='var-IMAGE_POSTPROCESS_COMMAND'><glossterm>IMAGE_POSTPROCESS_COMMAND</glossterm>
             <glossdef>
                 <para>
-                    Added by classes to run post processing commands once the 
+                    Added by classes to run post processing commands once the
                     OpenEmbedded build system has created the image.
                     You can specify shell commands and, if necessary, the path
                     to the root filesystem image:
@@ -1996,8 +1996,8 @@ Core layer for images cannot be removed
         <glossentry id='var-IMAGE_ROOTFS'><glossterm>IMAGE_ROOTFS</glossterm>
             <glossdef>
                 <para>
-                    The location of the root filesystem.  
-                    This variable is not configurable.  
+                    The location of the root filesystem.
+                    This variable is not configurable.
                     Do not change it.
                 </para>
             </glossdef>
@@ -3411,17 +3411,17 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
                     The directory from which the top-level build environment
                     setup script is sourced.
                     The Yocto Project makes two top-level build environment
-                    setup scripts available: 
+                    setup scripts available:
                     <link linkend='structure-core-script'><filename>&OE_INIT_FILE;</filename></link>
-                    and 
+                    and
                     <link linkend='structure-memres-core-script'><filename>oe-init-build-env-memres</filename></link>.
-                    When you run one of these scripts, the 
-                    <filename>OEROOT</filename> variable resolves to the 
+                    When you run one of these scripts, the
+                    <filename>OEROOT</filename> variable resolves to the
                     directory that holds the script.
                 </para>
 
                 <para>
-                    For additional information on how this variable is used, 
+                    For additional information on how this variable is used,
                     see the initialization scripts.
                 </para>
             </glossdef>
@@ -3710,15 +3710,15 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
 
                 <para>
                     The default value of "noop" causes the build to simply fail
-                    when the OpenEmbedded build system cannot successfully 
+                    when the OpenEmbedded build system cannot successfully
                     apply a patch.
-                    Setting the value to "user" causes the build system to 
-                    launch a shell and places you in the right location so that 
+                    Setting the value to "user" causes the build system to
+                    launch a shell and places you in the right location so that
                     you can manually resolve the conflicts.
                 </para>
 
                 <para>
-                    Set this variable in your 
+                    Set this variable in your
                     <filename>local.conf</filename> file.
                 </para>
             </glossdef>
@@ -4169,13 +4169,17 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
         <glossentry id='var-ROOTFS_POSTPROCESS_COMMAND'><glossterm>ROOTFS_POSTPROCESS_COMMAND</glossterm>
             <glossdef>
                 <para>
-                    Added by classes to run post processing commands once the 
+                    Added by classes to run post processing commands once the
                     OpenEmbedded build system has created the root filesystem.
                     You can specify shell commands and, if necessary, the path
                     to the root filesystem image:
                     <literallayout class='monospaced'>
-     ROOTFS_POSTPROCESS_COMMAND += "${IMAGE_ROOTFS}&lt;shell_command&gt;; ... "
+     ROOTFS_POSTPROCESS_COMMAND += "&lt;shell_command&gt;; ... "
                     </literallayout>
+                    If you need to pass the path to the root filesystem within
+                    the command, you can use
+                    <filename>${IMAGE_ROOTFS}</filename>, which points to
+                    the root filesystem image.
                 </para>
             </glossdef>
         </glossentry>
@@ -5167,22 +5171,22 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
         <glossentry id='var-USER_CLASSES'><glossterm>USER_CLASSES</glossterm>
             <glossdef>
                 <para>
-                    A list of classes to globally inherit.  
-                    These classes are used by the OpenEmbedded build system 
-                    to enable extra features (e.g. 
-                    <filename>buildstats</filename>, 
+                    A list of classes to globally inherit.
+                    These classes are used by the OpenEmbedded build system
+                    to enable extra features (e.g.
+                    <filename>buildstats</filename>,
                     <filename>image-mklibs</filename>, and so forth).
                 </para>
 
                 <para>
-                    The default list is set in your 
+                    The default list is set in your
                     <filename>local.conf</filename> file:
                     <literallayout class='monospaced'>
      USER_CLASSES ?= "buildstats image-mklibs image-prelink"
                     </literallayout>
                     For more information, see
-                    <filename>meta-yocto/conf/local.conf.sample</filename> in 
-                    the 
+                    <filename>meta-yocto/conf/local.conf.sample</filename> in
+                    the
                     <ulink url='&YOCTO_DOCS_DEV_URL;#source-directory'>Source Directory</ulink>.
                 </para>
             </glossdef>