diff options
author | Scott Rifenbark <scott.m.rifenbark@intel.com> | 2014-10-16 10:44:18 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-10-18 16:15:29 +0200 |
commit | 31d0bb239f5a572b23dc22a031b3dea1134db243 (patch) | |
tree | c6c0ccce27c3174ede39388bcbfc93e39b10bc56 | |
parent | e5255cce8685de49d06c5ef604b7afa95c8118d7 (diff) | |
download | ast2050-yocto-poky-31d0bb239f5a572b23dc22a031b3dea1134db243.zip ast2050-yocto-poky-31d0bb239f5a572b23dc22a031b3dea1134db243.tar.gz |
ref-manual: Minor edits for review on new QA checks.
Fixed some minor issues with build-deps and file-rdeps.
(From yocto-docs rev: b4250c9ba7d6a3d30c3dfb94d9e2e2eea6b47764)
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | documentation/ref-manual/ref-classes.xml | 9 | ||||
-rw-r--r-- | documentation/ref-manual/ref-qa-checks.xml | 8 |
2 files changed, 9 insertions, 8 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml index 0a0a2e2..0bc917c 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml @@ -1345,7 +1345,8 @@ dependency. This determination is particularly useful to discover where runtime dependencies are detected and added during packaging. - At this point in the build it is too late to ensure that + If no explicit dependency has been specified within the + metadata, at the packaging stage it is too late to ensure that the dependency is built, and thus you can end up with an error when the package is installed into the image during the <link linkend='ref-tasks-rootfs'><filename>do_rootfs</filename></link> @@ -1354,7 +1355,7 @@ <link linkend='ref-classes-update-rc.d'><filename>update-rc.d</filename></link> class automatically adds a dependency on the <filename>initscripts-functions</filename> package to packages - that install an <filename>initscript</filename> that refers to + that install an initscript that refers to <filename>/etc/init.d/functions</filename>. The recipe should really have an explicit <filename>RDEPENDS</filename> for the package in question on @@ -1415,9 +1416,9 @@ Some very rare cases do exist for dynamically loaded modules where these symlinks are needed instead in the main package. </para></listitem> - <listitem><para><emphasis><filename>file-redeps:</filename></emphasis> + <listitem><para><emphasis><filename>file-rdeps:</filename></emphasis> Checks that file-level dependencies identified by the - OpenEmbedded build system are satisfied. + OpenEmbedded build system at packaging time are satisfied. For example, a shell script might start with the line <filename>#!/bin/bash</filename>. This line would translate to a file dependency on diff --git a/documentation/ref-manual/ref-qa-checks.xml b/documentation/ref-manual/ref-qa-checks.xml index 0b364be..969074b 100644 --- a/documentation/ref-manual/ref-qa-checks.xml +++ b/documentation/ref-manual/ref-qa-checks.xml @@ -158,9 +158,9 @@ can be found then it should be implemented. I can't find one at the moment. <para> <itemizedlist> <listitem> - <para id='qa-issue-file->rdeps'> + <para id='qa-issue-file-rdeps'> <code> - <packagename> requires <files>, but no providers in its RDEPENDS [file->rdeps] + <packagename> requires <files>, but no providers in its RDEPENDS [file-rdeps] </code> </para> @@ -171,7 +171,7 @@ can be found then it should be implemented. I can't find one at the moment. <link linkend='var-RDEPENDS'><filename>RDEPENDS</filename></link>. If particular files are required at runtime then <filename>RDEPENDS</filename> should be declared in the - recipe to ensure they are present. + recipe to ensure the packages providing them are built. </para> <para> @@ -186,7 +186,7 @@ can be found then it should be implemented. I can't find one at the moment. <listitem> <para id='qa-issue-build-deps'> <code> - <packagename1> rdepends on <packagename2>, but it isn't a builddependency? [build-deps] + <packagename1> rdepends on <packagename2>, but it isn't a build dependency? [build-deps] </code> </para> |