summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorScott Rifenbark <scott.m.rifenbark@intel.com>2014-10-15 07:15:40 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-10-18 16:15:29 +0200
commit41173c8d7d5adfbc27842015de75c54ceed50203 (patch)
treef453b9c5d204db67be2808a29b5899c82f224f4c /documentation
parent3305c26f06be5f2012b7b319d85cc4928fc89221 (diff)
downloadpoky-41173c8d7d5adfbc27842015de75c54ceed50203.tar.gz
ref-manual: Added new build-deps QA check to insane.bbclass.
(From yocto-docs rev: fe8862304f1f78bda924dc5c46cb22f876373875) 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/ref-manual/ref-classes.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/documentation/ref-manual/ref-classes.xml b/documentation/ref-manual/ref-classes.xml
index 8e0ad2c909..0a0a2e2fba 100644
--- a/documentation/ref-manual/ref-classes.xml
+++ b/documentation/ref-manual/ref-classes.xml
@@ -1336,6 +1336,34 @@
1336 Currently, this test triggers too many false positives and 1336 Currently, this test triggers too many false positives and
1337 thus is not normally enabled. 1337 thus is not normally enabled.
1338 </para></listitem> 1338 </para></listitem>
1339 <listitem><para><emphasis><filename>build-deps:</filename></emphasis>
1340 Determines if a build-time dependency that is specified through
1341 <link linkend='var-DEPENDS'><filename>DEPENDS</filename></link>,
1342 explicit
1343 <link linkend='var-RDEPENDS'><filename>RDEPENDS</filename></link>,
1344 or task-level dependencies exists to match any runtime
1345 dependency.
1346 This determination is particularly useful to discover where
1347 runtime dependencies are detected and added during packaging.
1348 At this point in the build it is too late to ensure that
1349 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 <link linkend='ref-tasks-rootfs'><filename>do_rootfs</filename></link>
1352 task because the auto-detected dependency was not satisfied.
1353 An example of this would be where the
1354 <link linkend='ref-classes-update-rc.d'><filename>update-rc.d</filename></link>
1355 class automatically adds a dependency on the
1356 <filename>initscripts-functions</filename> package to packages
1357 that install an <filename>initscript</filename> that refers to
1358 <filename>/etc/init.d/functions</filename>.
1359 The recipe should really have an explicit
1360 <filename>RDEPENDS</filename> for the package in question on
1361 <filename>initscripts-functions</filename> so that the
1362 OpenEmbedded build system is able to ensure that the
1363 <filename>initscripts</filename> recipe is actually built and
1364 thus the <filename>initscripts-functions</filename> package is
1365 made available.
1366 </para></listitem>
1339 <listitem><para><emphasis><filename>compile-host-path:</filename></emphasis> 1367 <listitem><para><emphasis><filename>compile-host-path:</filename></emphasis>
1340 Checks the 1368 Checks the
1341 <link linkend='ref-tasks-compile'><filename>do_compile</filename></link> 1369 <link linkend='ref-tasks-compile'><filename>do_compile</filename></link>