mbox series

[0/2] update tip on how to include (or not) kernel in image rootfs

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

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.

Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>

---
Quentin Schulz (2):
      docs: kernel-dev: faq: update tip on how to not include kernel in image
      docs: migration-guides: migration-4.0: specify variable name change for kernel inclusion in image recipe

 documentation/kernel-dev/faq.rst                 | 2 +-
 documentation/migration-guides/migration-4.0.rst | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)
---
base-commit: 5b5c2af6127eabda8eb07645546fa2cdfc462154
change-id: 20230103-no-kernel-rootfs-f42080d8dabf

Best regards,

Comments

Michael Opdenacker Jan. 5, 2023, 9:39 a.m. UTC | #1
Hi Quentin

Am 03.01.23 um 18:36 schrieb Quentin Schulz:
> 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.
>
> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
>
> ---
> Quentin Schulz (2):
>        docs: kernel-dev: faq: update tip on how to not include kernel in image
>        docs: migration-guides: migration-4.0: specify variable name change for kernel inclusion in image recipe
>
>   documentation/kernel-dev/faq.rst                 | 2 +-
>   documentation/migration-guides/migration-4.0.rst | 3 +++
>   2 files changed, 4 insertions(+), 1 deletion(-)
> ---
> base-commit: 5b5c2af6127eabda8eb07645546fa2cdfc462154
> change-id: 20230103-no-kernel-rootfs-f42080d8dabf
>
> Best regards,
>

Many thanks for the patches! For both patches:
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
... and merged into master-next.

Thanks again
Michael.