From 85bcf0fefa396fc2e19be13a40699df8007c7ed0 Mon Sep 17 00:00:00 2001 From: Quentin Schulz Date: Tue, 3 Jan 2023 18:36:11 +0100 Subject: docs: migration-4.0: specify variable name change for kernel inclusion in image recipe 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 Cc: Quentin Schulz (From yocto-docs rev: 30f5f9ece260fd600f0c0fa32fc2f1fc61cf7d1b) Signed-off-by: Quentin Schulz Reviewed-by: Michael Opdenacker Signed-off-by: Richard Purdie --- documentation/migration-guides/migration-4.0.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'documentation') diff --git a/documentation/migration-guides/migration-4.0.rst b/documentation/migration-guides/migration-4.0.rst index 02d3c3e2bd..ab82280f5e 100644 --- a/documentation/migration-guides/migration-4.0.rst +++ b/documentation/migration-guides/migration-4.0.rst @@ -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``. -- cgit v1.2.3-54-g00ecf