Hi Étienne,

On 9/16/24 9:10 PM, Etienne Cordonnier via lists.yoctoproject.org wrote:
Hi,
the recipe kexec-tools (meta/recipes-kernel/kexec/kexec-tools) requires
makedumpfile since the kdump script was added in 2015.
makedumpfile is available in meta-openembedded (
https://github.com/openembedded/meta-openembedded/tree/master/meta-oe/recipes-kernel/makedumpfile
).

Also, the failure caused by the missing binary is non-trivial since it
happens while running the kdump capture kernel, and immediately reboots
after the error, leaving no logs of the error.

What would be the proper fix? Add a RDEPENDS to makedumpfile even though it
is not part of poky? Move makedumpfile from meta-openembedded to poky?


Maybe this is something we can bring up during the Yocto Dev Day tomorrow in Vienna.

The RDEPENDS would be required since you are saying it is a hard runtime dependency for this SW to work.

As far as I know, the only scenario in which we accept RDEPENDS for packages that aren't in poky/OE-Core is when it is expressed in PACKAGECONFIG **AND** this PACKAGECONFIG option isn't selected by default. This would be fine. So iff kdump can be built with this requirement excluded, putting this RDEPENDS behind a PACKAGECONFIG would be appropriate. Or, if kexec-tools can be compiled with kdump excluded entirely and the rest of the tools don't depend on makedumpfile, then we could make kdump RDEPENDS on makedumpfile but not build kdump by default (via PACKAGECONFIG).

Otherwise we have two options. Moving makedumpfile to poky or moving kexec-tools to another layer (e.g. one in meta-openembedded).

Cheers,
Quentin
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63861): https://lists.yoctoproject.org/g/yocto/message/63861
Mute This Topic: https://lists.yoctoproject.org/mt/108488024/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to