diff --git a/documentation/dev-manual/dev-manual-common-tasks.xml b/documentation/dev-manual/dev-manual-common-tasks.xml index 3cb053c907..3e9cccef15 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. @@ -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. @@ -5455,18 +5455,22 @@ post-installation scripts from running during root filesystem creation: - Not using $D in front of absolute paths: + + Not using $D in front of absolute + paths: The build system defines $D - at root filesystem creation time, and - it is blank when run on the target device. + when the root filesystem is created. + Furthermore, $D is blank when the + script is run on the target device. This implies two purposes for $D: 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. - Attempting to run processes that are + + Attempting to run processes that are specific to or dependent on the target architecture: You can work around these attempts by using native @@ -5475,10 +5479,8 @@ which has the qemu_run_binary function. For more information, see the - meta/classes/qemu.bbclass - class in the - Source Directory. - + qemu + class.