From: Andreas Oberritter Date: Sat, 29 Jan 2011 00:51:25 +0000 (+0000) Subject: module.bbclass: depend on kernel-${KERNEL_VERSION} instead of kernel (= ${KERNEL_VERS... X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2dac84b9a7b820466ed626420fec120093b56e16;p=openembedded.git module.bbclass: depend on kernel-${KERNEL_VERSION} instead of kernel (= ${KERNEL_VERSION}) * As a special case, kernel modules must depend on kernel-${KERNEL_VERSION}, which gets runtime provided by the kernel package. The reason is, that the package version can be different from ${KERNEL_VERSION}, because the latter depends on the kernel configuration, e.g. CONFIG_LOCALVERSION. Signed-off-by: Andreas Oberritter --- diff --git a/classes/module.bbclass b/classes/module.bbclass index 574eea64ee..8e9c8f41b1 100644 --- a/classes/module.bbclass +++ b/classes/module.bbclass @@ -1,4 +1,4 @@ -RDEPENDS_${PN} += "kernel (= ${KERNEL_VERSION}) update-modules" +RDEPENDS_${PN} += "kernel-${KERNEL_VERSION} update-modules" DEPENDS += "virtual/kernel" inherit module-base