Hi,

I have a question regarding the use of MACHINE_EXTRA_RDEPENDS and 
MACHINE_EXTRA_RRECOMMENDS.

I've written a kernel module to handle a specific aspect of our custom 
hardware, and I added it to
MACHINE_EXTRA_RDEPENDS to ensure it's always installed. However, this triggered 
the following SPDX error:

ERROR:[...] do_rootfs: Unable to find package with name 
'kernel-module-my-module' in SPDX file 
[...]/kernel-module-my-module-6.6.23-lf-6.6.y-lf-6.6.y-06244-g79c903fdc910.spdx.json
ERROR: Logfile of failure stored in: [...]/1.0/temp/log.do_rootfs.725497
ERROR: Task ([...]:do_rootfs) failed with exit code '1'

It seems that `create-spdx` is confusing the `kernel-module-my-module` package 
with
`kernel-module-my-module-$KERNEL_VERSION`. The error disappears when I use
MACHINE_EXTRA_RRECOMMENDS instead.

So my question is: is this a bug, or am I misusing MACHINE_EXTRA_RDEPENDS?

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

Reply via email to