[oe-commits] Andreas Oberritter : prism54: depend on kernel-${KERNEL_VERSION} instead of kernel (= ${KERNEL_VERSION})

git version control git at git.openembedded.org
Sat Jan 29 00:59:04 UTC 2011


Module: openembedded.git
Branch: master
Commit: 52b0dc709e2b83cf42839d8cf9decf9e75eb8e96
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=52b0dc709e2b83cf42839d8cf9decf9e75eb8e96

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Sat Jan 29 00:51:09 2011 +0000

prism54: 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 <obi at opendreambox.org>

---

 recipes/prism54/prism54-module_1.2.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/recipes/prism54/prism54-module_1.2.bb b/recipes/prism54/prism54-module_1.2.bb
index 678bfec..5d21364 100644
--- a/recipes/prism54/prism54-module_1.2.bb
+++ b/recipes/prism54/prism54-module_1.2.bb
@@ -3,7 +3,7 @@ SECTION = "base"
 PRIORITY = "optional"
 HOMEPAGE = "http://prism54.org"
 LICENSE = "GPL"
-RDEPENDS_${PN} = "kernel (= ${KERNEL_VERSION}) prism54-firmware (= 1.0.3.0) hotplug"
+RDEPENDS_${PN} = "kernel-${KERNEL_VERSION} prism54-firmware (= 1.0.3.0) hotplug"
 RRECOMMENDS_${PN} = "kernel-module-firmware-class"
 DEPENDS = "virtual/kernel prism54-firmware"
 PR = "r2"





More information about the Openembedded-commits mailing list