diff options
Diffstat (limited to 'meta/classes/kernel.bbclass')
-rw-r--r-- | meta/classes/kernel.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 74ec7d56b1..74f1b7527f 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -288,7 +288,7 @@ python populate_packages_prepend () { | |||
288 | def parse_depmod(): | 288 | def parse_depmod(): |
289 | import re | 289 | import re |
290 | 290 | ||
291 | dvar = bb.data.getVar('D', d, 1) | 291 | dvar = bb.data.getVar('PKGD', d, 1) |
292 | if not dvar: | 292 | if not dvar: |
293 | bb.error("D not defined") | 293 | bb.error("D not defined") |
294 | return | 294 | return |
@@ -337,7 +337,7 @@ python populate_packages_prepend () { | |||
337 | return deps | 337 | return deps |
338 | 338 | ||
339 | def get_dependencies(file, pattern, format): | 339 | def get_dependencies(file, pattern, format): |
340 | file = file.replace(bb.data.getVar('D', d, 1) or '', '', 1) | 340 | file = file.replace(bb.data.getVar('PKGD', d, 1) or '', '', 1) |
341 | 341 | ||
342 | if module_deps.has_key(file): | 342 | if module_deps.has_key(file): |
343 | import re | 343 | import re |
@@ -356,7 +356,7 @@ python populate_packages_prepend () { | |||
356 | import re | 356 | import re |
357 | vals = extract_modinfo(file) | 357 | vals = extract_modinfo(file) |
358 | 358 | ||
359 | dvar = bb.data.getVar('D', d, 1) | 359 | dvar = bb.data.getVar('PKGD', d, 1) |
360 | 360 | ||
361 | # If autoloading is requested, output /etc/modutils/<name> and append | 361 | # If autoloading is requested, output /etc/modutils/<name> and append |
362 | # appropriate modprobe commands to the postinst | 362 | # appropriate modprobe commands to the postinst |