robostix: depend on kernel-${KERNEL_VERSION} instead of kernel (= ${KERNEL_VERSION})
authorAndreas Oberritter <obi@opendreambox.org>
Sat, 29 Jan 2011 00:51:09 +0000 (00:51 +0000)
committerAndreas Oberritter <obi@opendreambox.org>
Sat, 29 Jan 2011 00:56:09 +0000 (00:56 +0000)
* 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 <obi@opendreambox.org>
recipes/robostix/robostix.bb

index 90cf613..d3d89ba 100644 (file)
@@ -2,7 +2,7 @@ DESCRIPTION = "Robostix programs"
 PRIORITY = "optional"
 SECTION = "base"
 LICENSE = "GPL"
-RDEPENDS_${PN} = "kernel (= ${KERNEL_VERSION})"
+RDEPENDS_${PN} = "kernel-${KERNEL_VERSION}"
 DEPENDS = "virtual/kernel"
 
 PR = "r1"