Hi Jose,

Thanks for your comment; I intend to backport the patch to all actively
maintained branches once it is accepted for master merge.

Christoph

Am 17.04.23 um 12:19 schrieb Jose Quaresma:
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 <christoph.la...@email.de
<mailto:christoph.la...@email.de>> escreveu no dia domingo, 16/04/2023
à(s) 11:31:

    From: Christoph Lauer <christoph.la...@xtronic.de
    <mailto: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
    <mailto:christoph.la...@xtronic.de>>
    ---
      meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
    <http://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
    <http://make-mod-scripts_1.0.bb>
    b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
    <http://make-mod-scripts_1.0.bb>
    index 28e0807d1d..0e24efc597 100644
    --- a/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
    <http://make-mod-scripts_1.0.bb>
    +++ b/meta/recipes-kernel/make-mod-scripts/make-mod-scripts_1.0.bb
    <http://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




--
Best regards,

José Quaresma
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#180165): 
https://lists.openembedded.org/g/openembedded-core/message/180165
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to