From: Andrei Gherzan <andrei@gherzan.com>
To: openembedded-core@lists.openembedded.org
Cc: andrei@gherzan.com, Andrei Gherzan <andrei.gherzan@huawei.com>
Subject: [PATCH 2/4] kernel.bbclass: Pass the kernel package name to depmodwrapper
Date: Sat, 10 Sep 2022 00:04:23 +0200 [thread overview]
Message-ID: <20220909220425.2737985-2-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 postinstall script it using the right kernel
paths.
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
meta/classes-recipe/kernel.bbclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/classes-recipe/kernel.bbclass b/meta/classes-recipe/kernel.bbclass
index de1b80d0ae..e4e69e0763 100644
--- a/meta/classes-recipe/kernel.bbclass
+++ b/meta/classes-recipe/kernel.bbclass
@@ -677,7 +677,7 @@ pkg_postinst:${KERNEL_PACKAGE_NAME}-base () {
mkdir -p $D/lib/modules/${KERNEL_VERSION}
fi
if [ -n "$D" ]; then
- depmodwrapper -a -b $D ${KERNEL_VERSION}
+ depmodwrapper -a -b $D ${KERNEL_VERSION} ${KERNEL_PACKAGE_NAME}
else
depmod -a ${KERNEL_VERSION}
fi
--
2.25.1
next prev 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 ` Andrei Gherzan [this message]
2022-09-09 22:04 ` [PATCH 3/4] kernel-module-split.bbclass: Pass the kernel package name to depmodwrapper Andrei Gherzan
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-2-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