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 | 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 0a0a2e2fba..0bc917c09c 100644 --- a/documentation/ref-manual/ref-classes.xml +++ b/documentation/ref-manual/ref-classes.xml | |||
@@ -1345,7 +1345,8 @@ | |||
1345 | dependency. | 1345 | dependency. |
1346 | This determination is particularly useful to discover where | 1346 | This determination is particularly useful to discover where |
1347 | runtime dependencies are detected and added during packaging. | 1347 | runtime dependencies are detected and added during packaging. |
1348 | At this point in the build it is too late to ensure that | 1348 | If no explicit dependency has been specified within the |
1349 | metadata, at the packaging stage it is too late to ensure that | ||
1349 | the dependency is built, and thus you can end up with an | 1350 | the dependency is built, and thus you can end up with an |
1350 | error when the package is installed into the image during the | 1351 | error when the package is installed into the image during the |
1351 | <link linkend='ref-tasks-rootfs'><filename>do_rootfs</filename></link> | 1352 | <link linkend='ref-tasks-rootfs'><filename>do_rootfs</filename></link> |
@@ -1354,7 +1355,7 @@ | |||
1354 | <link linkend='ref-classes-update-rc.d'><filename>update-rc.d</filename></link> | 1355 | <link linkend='ref-classes-update-rc.d'><filename>update-rc.d</filename></link> |
1355 | class automatically adds a dependency on the | 1356 | class automatically adds a dependency on the |
1356 | <filename>initscripts-functions</filename> package to packages | 1357 | <filename>initscripts-functions</filename> package to packages |
1357 | that install an <filename>initscript</filename> that refers to | 1358 | that install an initscript that refers to |
1358 | <filename>/etc/init.d/functions</filename>. | 1359 | <filename>/etc/init.d/functions</filename>. |
1359 | The recipe should really have an explicit | 1360 | The recipe should really have an explicit |
1360 | <filename>RDEPENDS</filename> for the package in question on | 1361 | <filename>RDEPENDS</filename> for the package in question on |
@@ -1415,9 +1416,9 @@ | |||
1415 | Some very rare cases do exist for dynamically loaded modules where | 1416 | Some very rare cases do exist for dynamically loaded modules where |
1416 | these symlinks are needed instead in the main package. | 1417 | these symlinks are needed instead in the main package. |
1417 | </para></listitem> | 1418 | </para></listitem> |
1418 | <listitem><para><emphasis><filename>file-redeps:</filename></emphasis> | 1419 | <listitem><para><emphasis><filename>file-rdeps:</filename></emphasis> |
1419 | Checks that file-level dependencies identified by the | 1420 | Checks that file-level dependencies identified by the |
1420 | OpenEmbedded build system are satisfied. | 1421 | OpenEmbedded build system at packaging time are satisfied. |
1421 | For example, a shell script might start with the line | 1422 | For example, a shell script might start with the line |
1422 | <filename>#!/bin/bash</filename>. | 1423 | <filename>#!/bin/bash</filename>. |
1423 | This line would translate to a file dependency on | 1424 | 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 0b364be59c..969074bf60 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. | |||
158 | <para> | 158 | <para> |
159 | <itemizedlist> | 159 | <itemizedlist> |
160 | <listitem> | 160 | <listitem> |
161 | <para id='qa-issue-file->rdeps'> | 161 | <para id='qa-issue-file-rdeps'> |
162 | <code> | 162 | <code> |
163 | <packagename> requires <files>, but no providers in its RDEPENDS [file->rdeps] | 163 | <packagename> requires <files>, but no providers in its RDEPENDS [file-rdeps] |
164 | </code> | 164 | </code> |
165 | </para> | 165 | </para> |
166 | 166 | ||
@@ -171,7 +171,7 @@ can be found then it should be implemented. I can't find one at the moment. | |||
171 | <link linkend='var-RDEPENDS'><filename>RDEPENDS</filename></link>. | 171 | <link linkend='var-RDEPENDS'><filename>RDEPENDS</filename></link>. |
172 | If particular files are required at runtime then | 172 | If particular files are required at runtime then |
173 | <filename>RDEPENDS</filename> should be declared in the | 173 | <filename>RDEPENDS</filename> should be declared in the |
174 | recipe to ensure they are present. | 174 | recipe to ensure the packages providing them are built. |
175 | </para> | 175 | </para> |
176 | 176 | ||
177 | <para> | 177 | <para> |
@@ -186,7 +186,7 @@ can be found then it should be implemented. I can't find one at the moment. | |||
186 | <listitem> | 186 | <listitem> |
187 | <para id='qa-issue-build-deps'> | 187 | <para id='qa-issue-build-deps'> |
188 | <code> | 188 | <code> |
189 | <packagename1> rdepends on <packagename2>, but it isn't a builddependency? [build-deps] | 189 | <packagename1> rdepends on <packagename2>, but it isn't a build dependency? [build-deps] |
190 | </code> | 190 | </code> |
191 | </para> | 191 | </para> |
192 | 192 | ||