From 9875a46a2d778a4e6538ef88470bff21bfc14f79 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 28 Mar 2013 11:30:31 -0700 Subject: [PATCH] ref-manual: Edits to PACKAGES_DYNAMIC variable. (From yocto-docs rev: 85726f6819d5c1fe1c0ad32c3bc663b1364f78c6) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/ref-variables.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/documentation/ref-manual/ref-variables.xml b/documentation/ref-manual/ref-variables.xml index 8bf8aa4ec6..187741bf7e 100644 --- a/documentation/ref-manual/ref-variables.xml +++ b/documentation/ref-manual/ref-variables.xml @@ -2481,18 +2481,22 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3" does not actually satisfy the dependencies, it only states that they should be satisfied. For example, if a hard, runtime dependency - (RDEPENDS) of another package is satisfied + (RDEPENDS) + of another package is satisfied at build time through the PACKAGES_DYNAMIC variable, but a package with the module name is never actually produced, then the other package will be broken. Thus, if you attempt to include that package in an image, you will get a dependency failure from the packaging system during do_rootfs. + + Typically, if there is a chance that such a situation can occur and the package that is not created is valid without the dependency being satisfied, then you should use - RRECOMMENDS (a soft runtime dependency) - instead of RDEPENDS. + RRECOMMENDS + (a soft runtime dependency) instead of + RDEPENDS.