diff options
Diffstat (limited to 'recipes-kernel/vizzini/vizzini.inc')
-rw-r--r-- | recipes-kernel/vizzini/vizzini.inc | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/recipes-kernel/vizzini/vizzini.inc b/recipes-kernel/vizzini/vizzini.inc index eb9bc54..fa7b478 100644 --- a/recipes-kernel/vizzini/vizzini.inc +++ b/recipes-kernel/vizzini/vizzini.inc @@ -5,7 +5,7 @@ PRIORITY = "optional" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" -INC_PR = "r1" +INC_PR = "r2" SRC_URI = " \ file://vizzini.init \ @@ -48,6 +48,12 @@ do_install() { } pkg_postinst_${PN} () { - /sbin/depmod -a + if [ -z "$D" ]; then + depmod -a ${MLINUX_KERNEL_VERSION}${MLINUX_KERNEL_EXTRA_VERSION} + else + # image.bbclass will call depmodwrapper after everything is installed, + # no need to do it here as well + : + fi } |