On Thu, Aug 11, 2022 at 12:18 PM Jose Quaresma <[email protected]> wrote:
>
> When the kernel is rebuild or some of they tasks change the
> kernel modules is not rebuild as well and will comes from
> the sstate-cache.
>
> [YOCTO #14885] https://bugzilla.yoctoproject.org/show_bug.cgi?id=14885
>
> Signed-off-by: Jose Quaresma <[email protected]>
> ---
> meta/classes/module.bbclass | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass
> index a09ec3ed1e..d377a08bc6 100644
> --- a/meta/classes/module.bbclass
> +++ b/meta/classes/module.bbclass
> @@ -1,5 +1,7 @@
> inherit module-base kernel-module-split pkgconfig
>
> +DEPENDS += "virtual/kernel"
There's already a dependency on virtual/kernel:do_shared_workdir() through
module-base.bbclass and the make-mod-scripts dependency.
And that dependency was a change to this:
-# This is instead of DEPENDS = "virtual/kernel"
-do_configure[depends] += "virtual/kernel:do_compile_kernelmodules"
i.e. we've always had a finer grained dependency than what is being
proposed here.
We need to understand why that shared_workdir() dependency isn't
doing the job any more, and if there's no way to fix it .. then going back
to the older compile dependency is still lighter weight than depending
on virtual/kernel (and the default of do_prepare_recipe_sysroot).
It must (could?) be something with the shared workdir changing the interactions.
Bruce
> +
> EXTRA_OEMAKE += "KERNEL_SRC=${STAGING_KERNEL_DIR}"
>
> MODULES_INSTALL_TARGET ?= "modules_install"
> --
> 2.37.1
>
>
>
>
--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#169258):
https://lists.openembedded.org/g/openembedded-core/message/169258
Mute This Topic: https://lists.openembedded.org/mt/92962048/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-