diff options
-rw-r--r-- | meta/classes/module.bbclass | 4 |
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() { | |||
25 | modules_install | 25 | modules_install |
26 | } | 26 | } |
27 | 27 | ||
28 | pkg_postinst_append () { | 28 | pkg_postinst_${PN}_append () { |
29 | if [ -z "$D" ]; then | 29 | if [ -z "$D" ]; then |
30 | depmod -a ${KERNEL_VERSION} | 30 | depmod -a ${KERNEL_VERSION} |
31 | else | 31 | else |
@@ -33,7 +33,7 @@ else | |||
33 | fi | 33 | fi |
34 | } | 34 | } |
35 | 35 | ||
36 | pkg_postrm_append () { | 36 | pkg_postrm_${PN}_append () { |
37 | if [ -z "$D" ]; then | 37 | if [ -z "$D" ]; then |
38 | depmod -a ${KERNEL_VERSION} | 38 | depmod -a ${KERNEL_VERSION} |
39 | else | 39 | else |