On Sun, 2023-04-16 at 12:30 +0200, Christoph Lauer wrote: > From: Christoph Lauer <christoph.la...@xtronic.de> > > With rm_work active, external module signing throws an error: > scripts/sign-file: error while loading shared libraries: libcrypto.so.3: > cannot open shared object file: No such file or directory > Preserve libraries that sign-file script needs during runtime. > > Signed-off-by: Christoph Lauer <christoph.la...@xtronic.de> > --- > meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb > b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb > index 28e0807d1d..0e24efc597 100644 > --- a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb > +++ b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb > @@ -32,3 +32,6 @@ do_configure() { > -C ${STAGING_KERNEL_DIR} O=${STAGING_KERNEL_BUILDDIR} $t > done > } > + > +# keep native libraries required for module signing > +RM_WORK_EXCLUDE_ITEMS += "recipe-sysroot-native"
I'm really reluctant to take this change as it isn't the way dependencies are meant to work. It sounds like something in a shared workdir is depending on something in a recipe workdir and we simply don't support that. Everything needed should be in the shared workdir. At best this is a bandaid and there will be other ways to make this fail such as cleaning make-mod-scripts. I'm even less keen to take it when I think it's going to be backported "everywhere" as if is the correct solution too. I don't know what the right fix is unfortunately. I'm sure people would like me to think about it and come up with one but there are simply too many different things people would like me to do that with and even for me, it does take a while to work these things out. I'm just out of bandwidth, sorry :( Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#180167): https://lists.openembedded.org/g/openembedded-core/message/180167 Mute This Topic: https://lists.openembedded.org/mt/98296212/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-