diff mbox series

[2/2] docs: migration-guides: migration-4.0: specify variable name change for kernel inclusion in image recipe

Message ID 20230103-no-kernel-rootfs-v1-2-33f7abb94410@theobroma-systems.com
State New
Headers show
Series update tip on how to include (or not) kernel in image rootfs | expand

Commit Message

Quentin Schulz Jan. 3, 2023, 5:36 p.m. UTC
From: Quentin Schulz <quentin.schulz@theobroma-systems.com>

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>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
---
 documentation/migration-guides/migration-4.0.rst | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/documentation/migration-guides/migration-4.0.rst b/documentation/migration-guides/migration-4.0.rst
index e11809b49..dd840f2bb 100644
--- a/documentation/migration-guides/migration-4.0.rst
+++ b/documentation/migration-guides/migration-4.0.rst
@@ -267,3 +267,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``.