ref-manual: Updated the MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS variable

MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS won't always grab your
out-of-tree module recipe since the kernel recipe's
PACKAGES_DYNAMIC variable provides kernel-module-*.  This
patch documents that your out-of-tree module needs to explicitly
set its PACKAGES variable to avoid this behavior.

(From yocto-docs rev: 2c51eae23b634cdace5a119ee1a6c8e8ba76dc45)

Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
California Sullivan 2015-10-21 12:07:13 -07:00 committed by Richard Purdie
parent e7c8c79f13
commit a8674ae642
1 changed files with 10 additions and 0 deletions

View File

@ -7510,6 +7510,16 @@ recipes-graphics/xorg-font/font-alias_1.0.3.bb:PR = "${INC_PR}.3"
<literallayout class='monospaced'>
MACHINE_ESSENTIAL_EXTRA_RRECOMMENDS += "kernel-module-ab123"
</literallayout>
<note>
In this example, the
<filename>kernel-module-ab123</filename> recipe
needs to explicitly set its
<link linkend='var-PACKAGES'><filename>PACKAGES</filename></link>
variable to ensure that BitBake does not use the
kernel recipe's
<link linkend='var-PACKAGES_DYNAMIC'><filename>PACKAGES_DYNAMIC</filename></link>
variable to satisfy the dependency.
</note>
</para>
<para>