Hi Christoph, This patch is also applicable on kirstone so it can be backported. I use in my distro RM_WORK_EXCLUDE += "make-mod-scripts" but your fix looks better. Thanks. Jose Christoph Lauer escreveu no dia domingo, 16/04/2023 à(s) 11:31: > From: Christoph Lauer > > 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 > --- > 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 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#180113): > https://lists.openembedded.org/g/openembedded-core/message/180113 > Mute This Topic: https://lists.openembedded.org/mt/98296212/5052612 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ > quaresma.jose@gmail.com] > -=-=-=-=-=-=-=-=-=-=-=- > > -- Best regards, José Quaresma