summaryrefslogtreecommitdiff
path: root/classes
diff options
context:
space:
mode:
authorThomas Kunze <thommycheck@gmx.de>2008-03-28 14:45:21 +0000
committerThomas Kunze <thommycheck@gmx.de>2008-03-28 14:45:21 +0000
commit85039a6820d07a4cdcb7485dff31c3045a314c7d (patch)
tree631e00b1120d6b4205e3b3d3eabd5018e1d96d7b /classes
parentdccf02ef2af0ff9c34aa9503be88035d33687327 (diff)
package.bbclass: fix handling of kernel-modules which end with '-dev'
Kernel-modules which end with -dev get update-modules-dev as RRECOMMENDS so update-modules-dev gets pulled in images. So we blacklist kernel-module packages for now.
Diffstat (limited to 'classes')
-rw-r--r--classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/package.bbclass b/classes/package.bbclass
index eb43856c55..814715e1fa 100644
--- a/classes/package.bbclass
+++ b/classes/package.bbclass
@@ -904,7 +904,7 @@ python package_depchains() {
for suffix in pkgs:
for pkg in pkgs[suffix]:
(base, func) = pkgs[suffix][pkg]
- if suffix == "-dev":
+ if suffix == "-dev" and not pkg.startswith("kernel-module-"):
pkg_adddeprrecs(pkg, base, suffix, func, depends, d)
if len(pkgs[suffix]) == 1:
pkg_addrrecs(pkg, base, suffix, func, rdepends, d)