I guess you need to investigate why one triggers the error and the
other does not by grepping where those are actually used during
do_rootfs. Basically take the whole poky tree and check all mentions
of it.

Alex

On Mon, 21 Oct 2024 at 09:32, Marcus Flyckt via lists.yoctoproject.org
<marcus.flyckt=gmail....@lists.yoctoproject.org> wrote:
>
> 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 (#64060): https://lists.yoctoproject.org/g/yocto/message/64060
Mute This Topic: https://lists.yoctoproject.org/mt/109129534/21656
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to