aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/module.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/module.bbclass b/meta/classes/module.bbclass
index d477caa065..c933d3226d 100644
--- a/meta/classes/module.bbclass
+++ b/meta/classes/module.bbclass
@@ -25,7 +25,7 @@ module_do_install() {
modules_install
}
-pkg_postinst_append () {
+pkg_postinst_${PN}_append () {
if [ -z "$D" ]; then
depmod -a ${KERNEL_VERSION}
else
@@ -33,7 +33,7 @@ else
fi
}
-pkg_postrm_append () {
+pkg_postrm_${PN}_append () {
if [ -z "$D" ]; then
depmod -a ${KERNEL_VERSION}
else