From 41173c8d7d5adfbc27842015de75c54ceed50203 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 15 Oct 2014 07:15:40 -0700 Subject: ref-manual: Added new build-deps QA check to insane.bbclass. (From yocto-docs rev: fe8862304f1f78bda924dc5c46cb22f876373875) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-classes.xml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'documentation/ref-manual/ref-classes.xml') 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 @@ Currently, this test triggers too many false positives and thus is not normally enabled. + build-deps: + Determines if a build-time dependency that is specified through + DEPENDS, + explicit + RDEPENDS, + or task-level dependencies exists to match any runtime + 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 + the dependency is built, and thus you can end up with an + error when the package is installed into the image during the + do_rootfs + task because the auto-detected dependency was not satisfied. + An example of this would be where the + update-rc.d + class automatically adds a dependency on the + initscripts-functions package to packages + that install an initscript that refers to + /etc/init.d/functions. + The recipe should really have an explicit + RDEPENDS for the package in question on + initscripts-functions so that the + OpenEmbedded build system is able to ensure that the + initscripts recipe is actually built and + thus the initscripts-functions package is + made available. + compile-host-path: Checks the do_compile -- cgit v1.2.3-54-g00ecf