public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
From: Andrei Gherzan <andrei@gherzan.com>
To: openembedded-core@lists.openembedded.org
Cc: andrei@gherzan.com, Andrei Gherzan <andrei.gherzan@huawei.com>
Subject: [PATCH 3/4] kernel-module-split.bbclass: Pass the kernel package name to depmodwrapper
Date: Sat, 10 Sep 2022 00:04:24 +0200	[thread overview]
Message-ID: <20220909220425.2737985-3-andrei@gherzan.com> (raw)
In-Reply-To: <20220909220425.2737985-1-andrei@gherzan.com>

From: Andrei Gherzan <andrei.gherzan@huawei.com>

This makes sure that the postrm script it using the right kernel paths.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 meta/classes-recipe/kernel-module-split.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes-recipe/kernel-module-split.bbclass b/meta/classes-recipe/kernel-module-split.bbclass
index 1b4c864a63..08c2e54e86 100644
--- a/meta/classes-recipe/kernel-module-split.bbclass
+++ b/meta/classes-recipe/kernel-module-split.bbclass
@@ -18,7 +18,7 @@ pkg_postrm:modules () {
 if [ -z "$D" ]; then
 	depmod -a ${KERNEL_VERSION}
 else
-	depmodwrapper -a -b $D ${KERNEL_VERSION}
+	depmodwrapper -a -b $D ${KERNEL_VERSION} ${KERNEL_PACKAGE_NAME}
 fi
 }
 
-- 
2.25.1



  parent reply	other threads:[~2022-09-09 22:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-09 22:04 [PATCH 1/4] depmodwrapper-cross: Take into consideration kernel package name Andrei Gherzan
2022-09-09 22:04 ` [PATCH 2/4] kernel.bbclass: Pass the kernel package name to depmodwrapper Andrei Gherzan
2022-09-09 22:04 ` Andrei Gherzan [this message]
2022-09-09 22:04 ` [PATCH 4/4] rootfs.py: Run depmod(wrapper) against each compiled kernel Andrei Gherzan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220909220425.2737985-3-andrei@gherzan.com \
    --to=andrei@gherzan.com \
    --cc=andrei.gherzan@huawei.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox