diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-01-02 16:20:45 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-08 13:02:03 +0000 |
commit | 3517a7651233f4d6a21432059adb037062048028 (patch) | |
tree | 88348d51824f2470e78f839b30348318a9dd3e54 /documentation | |
parent | 777601bb6e43ae66d48d6d63f83ccb5fe62e27bd (diff) | |
download | ast2050-yocto-poky-3517a7651233f4d6a21432059adb037062048028.zip ast2050-yocto-poky-3517a7651233f4d6a21432059adb037062048028.tar.gz |
dev-manual: Edits to the "Post-Installation Scripts" section.
There was some confusion to this section as to just when post-install
scripts were being executed. I looked it over and the section really
is focusing more on the situations when you are creating a read-only
root filesystem. So I went through and did a small amount of
editing to just clean up some loose text.
(From yocto-docs rev: 1b3674a5d123e74748bce5de61722079d4740908)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation')
-rw-r--r-- | documentation/dev-manual/dev-manual-common-tasks.xml | 24 |
1 files changed, 13 insertions, 11 deletions
diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 3cb053c..3e9ccce 100644 --- a/documentation/dev-manual/dev-manual-common-tasks.xml +++ b/documentation/dev-manual/dev-manual-common-tasks.xml @@ -5436,8 +5436,8 @@ sure all post-installation scripts succeed. If any of these scripts still need to be run after the root filesystem is created, the build immediately fails. - These checks during build time ensure that the build fails - rather than the target device fails later during its + These build-time checks ensure that the build fails + rather than the target device failing later during its initial boot operation. </para> @@ -5447,7 +5447,7 @@ so that they can run during root filesystem creation (e.g. post-installation scripts for caching fonts). However, if you create and add custom scripts, you need - to be sure they can be run during file system creation. + to be sure they can be run during this file system creation. </para> <para> @@ -5455,18 +5455,22 @@ post-installation scripts from running during root filesystem creation: <itemizedlist> - <listitem><para><emphasis>Not using $D in front of absolute paths:</emphasis> + <listitem><para> + <emphasis>Not using $D in front of absolute + paths:</emphasis> The build system defines <filename>$</filename><ulink url='&YOCTO_DOCS_REF_URL;#var-D'><filename>D</filename></ulink> - at root filesystem creation time, and - it is blank when run on the target device. + when the root filesystem is created. + Furthermore, <filename>$D</filename> is blank when the + script is run on the target device. This implies two purposes for <filename>$D</filename>: ensuring paths are valid in both the host and target environments, and checking to determine which environment is being used as a method for taking appropriate actions. </para></listitem> - <listitem><para><emphasis>Attempting to run processes that are + <listitem><para> + <emphasis>Attempting to run processes that are specific to or dependent on the target architecture:</emphasis> You can work around these attempts by using native @@ -5475,10 +5479,8 @@ which has the <filename>qemu_run_binary</filename> function. For more information, see the - <filename>meta/classes/qemu.bbclass</filename> - class in the - <link linkend='source-directory'>Source Directory</link>. - </para></listitem> + <ulink url='&YOCTO_DOCS_REF_URL;#ref-classes-qemu'><filename>qemu</filename></ulink> + class.</para></listitem> </itemizedlist> </para> </section> |