summaryrefslogtreecommitdiffstats
path: root/documentation/kernel-dev
diff options
context:
space:
mode:
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>2023-01-03 18:36:10 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-01-06 17:39:09 +0000
commitda0241272c3785806b68801a9adb5a7abb3d4c7b (patch)
treed0ad4241f3adfb27f1fa701ddfe421aeb56237f0 /documentation/kernel-dev
parent0a3e13452ac21e8804f1264b18859363b8a7aa82 (diff)
downloadpoky-da0241272c3785806b68801a9adb5a7abb3d4c7b.tar.gz
docs: kernel-dev: faq: update tip on how to not include kernel in image
Since commit f6d963fa6d0e ("kernel: make kernel-base recommend kernel-image, not depend"), present in Kirkstone 4.0, one should set RRECOMMENDS and not RDEPENDS to avoid including the kernel in the image, so let's update the documentation to reflect that. Reported-by: Konstantin Kletschke <konstantin.kletschke@inside-m2m.de> Cc: Quentin Schulz <foss+yocto@0leil.net> (From yocto-docs rev: 7806a5d7ee986b92d4b8e438b14c18759e4421e5) Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com> Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/kernel-dev')
-rw-r--r--documentation/kernel-dev/faq.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/documentation/kernel-dev/faq.rst b/documentation/kernel-dev/faq.rst
index ceb5dda3f5..4dffa90dbd 100644
--- a/documentation/kernel-dev/faq.rst
+++ b/documentation/kernel-dev/faq.rst
@@ -36,7 +36,7 @@ How do I install/not-install the kernel image on the root filesystem?
36The kernel image (e.g. ``vmlinuz``) is provided by the 36The kernel image (e.g. ``vmlinuz``) is provided by the
37``kernel-image`` package. Image recipes depend on ``kernel-base``. To 37``kernel-image`` package. Image recipes depend on ``kernel-base``. To
38specify whether or not the kernel image is installed in the generated 38specify whether or not the kernel image is installed in the generated
39root filesystem, override ``RDEPENDS:${KERNEL_PACKAGE_NAME}-base`` to include or not 39root filesystem, override ``RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base`` to include or not
40include "kernel-image". See the 40include "kernel-image". See the
41":ref:`dev-manual/layers:appending other layers metadata with your layer`" 41":ref:`dev-manual/layers:appending other layers metadata with your layer`"
42section in the 42section in the