docs: migration-4.0: specify variable name change for kernel inclusion in image recipe

Since commit f6d963fa6d ("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: 30f5f9ece260fd600f0c0fa32fc2f1fc61cf7d1b)

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>
This commit is contained in:
Quentin Schulz 2023-01-03 18:36:11 +01:00 committed by Richard Purdie
parent 6798b28dc1
commit 85bcf0fefa

View File

@ -265,3 +265,6 @@ Miscellaneous changes
when parsing recipes. Any code depending on the previous behaviour will no longer
work - change any such code to explicitly use appropriate path variables instead.
- In order to exclude the kernel image from the image rootfs,
:term:`RRECOMMENDS`\ ``:${KERNEL_PACKAGE_NAME}-base`` should be set instead of
:term:`RDEPENDS`\ ``:${KERNEL_PACKAGE_NAME}-base``.