On Sun, 2022-05-08 at 13:04 +0200, Max Krummenacher wrote:
> From: Max Krummenacher <[email protected]>
> 
> This reverts commit 1c90b27d2c65cfb4f9debf0272820b6a95942f76. [2]
> 
> To exclude the kernel image from the final rootfs the documentation [1]
> suggest to override `RDEPENDS:${KERNEL_PACKAGE_NAME}-base`.
> With the change to RRECOMMENDS all layers which followed that suggestion
> now do get the kernel image as the override has no longer any effect.
> (a affected machine: openembedded-core/meta/conf/machine/include/qemu.inc)
> 
> Is the use case described in the commit not solvable with less severe
> side effects?
> 
> [1] 
> https://docs.yoctoproject.org/singleindex.html#how-do-i-install-not-install-the-kernel-image-on-the-root-filesystem
> [2] 
> https://git.openembedded.org/openembedded-core/commit/meta/classes/kernel.bbclass?h=master-next&id=1c90b27d2c65cfb4f9debf0272820b6a95942f76
> 
> Signed-off-by: Max Krummenacher <[email protected]>
> ---
>  meta/classes/kernel.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

That patch did solve a real world issue and I'm not sure how else we're
fix it. As such I think we'll need to update the documentation.

We should be able to add some kind of warning to let BSPs know
something needs updating too? Would that help?

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#165374): 
https://lists.openembedded.org/g/openembedded-core/message/165374
Mute This Topic: https://lists.openembedded.org/mt/90968281/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to