On Sun, Apr 16, 2023 at 6:31 AM Christoph Lauer <christoph.la...@email.de> 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. >
We are by design installing the output of the scripts target to the staging kernel build dir. If there's some part of the build and install that isn't going to the shared location, then we should be making sure it goes to that shared location (and is cleaned with the rest of the artifacts). Users of those same scripts need to be able to locate and load the artifacts from the staging kernel build dir, but that's solvable/preferable. If you've tried the above and it doesn't work, it would be useful to capture that in the commit log. Bruce > 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" > -- > 2.17.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 (#180166): https://lists.openembedded.org/g/openembedded-core/message/180166 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] -=-=-=-=-=-=-=-=-=-=-=-