From 67239d42511c43b04bdc7b56a1a610c67228c47a Mon Sep 17 00:00:00 2001 From: Joshua Lock Date: Tue, 17 Aug 2010 13:28:26 +0100 Subject: kernel.bbclass: Fix adding module dependencies to RDEPENDS Signed-off-by: Joshua Lock --- meta/classes/kernel.bbclass | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/classes/kernel.bbclass') diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 6bf001c4c7..f6989bb872 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass @@ -361,7 +361,10 @@ python populate_packages_prepend () { return deps def get_dependencies(file, pattern, format): + # file no longer includes PKGD file = file.replace(bb.data.getVar('PKGD', d, 1) or '', '', 1) + # instead is prefixed with /lib/modules/${KERNEL_VERSION} + file = file.replace("/lib/modules/%s/" % bb.data.getVar('KERNEL_VERSION', d, 1) or '', '', 1) if module_deps.has_key(file): import re -- cgit v1.2.3