diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-14 00:57:51 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2009-11-14 00:57:51 +0000 |
commit | 2c09164fd4c11832865f18b72f46266b7abffbc7 (patch) | |
tree | 50f971ed55d453d16477e03aa5ca660cd02a0ae9 | |
parent | 849cddddec8f53105cf54d8e9eb56416f93c4c71 (diff) |
kernel.bbclass: Fix populate_packaged 'D' references
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r-- | classes/kernel.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/classes/kernel.bbclass b/classes/kernel.bbclass index 9c1f637a66..0dde2d33ca 100644 --- a/classes/kernel.bbclass +++ b/classes/kernel.bbclass @@ -333,7 +333,7 @@ python populate_packages_prepend () { def parse_depmod(): import os, re - dvar = bb.data.getVar('D', d, 1) + dvar = bb.data.getVar('PKGD', d, 1) if not dvar: bb.error("D not defined") return @@ -382,7 +382,7 @@ python populate_packages_prepend () { return deps def get_dependencies(file, pattern, format): - file = file.replace(bb.data.getVar('D', d, 1) or '', '', 1) + file = file.replace(bb.data.getVar('PKGD', d, 1) or '', '', 1) if module_deps.has_key(file): import os.path, re @@ -401,7 +401,7 @@ python populate_packages_prepend () { import re vals = extract_modinfo(file) - dvar = bb.data.getVar('D', d, 1) + dvar = bb.data.getVar('PKGD', d, 1) # If autoloading is requested, output /etc/modutils/<name> and append # appropriate modprobe commands to the postinst |