summaryrefslogtreecommitdiff
path: root/meta-selftest/recipes-test
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-18 10:39:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-06-18 10:39:41 +0100
commitf30d12b4fbfe7d6b581598efa9ceca69dcfb4294 (patch)
tree72248ae56d8903ad48f8d394d7c62ea0cca15048 /meta-selftest/recipes-test
parentbb304f306c0f6ee496a75a67c0bb8a6c1e41ddf2 (diff)
downloadopenembedded-core-f30d12b4fbfe7d6b581598efa9ceca69dcfb4294.tar.gz
openembedded-core-f30d12b4fbfe7d6b581598efa9ceca69dcfb4294.tar.bz2
openembedded-core-f30d12b4fbfe7d6b581598efa9ceca69dcfb4294.zip
kernel-module-split: Fix KERNEL_MODULE_AUTOLOAD handling
Addresses the problem: The stack trace of python calls that resulted in this exception/failure was: File: 'split_kernel_module_packages', lineno: 164, function: <module> 0160: if len(os.listdir(dir)) == 0: 0161: os.rmdir(dir) 0162: 0163: *** 0164:split_kernel_module_packages(d) 0165: File: 'split_kernel_module_packages', lineno: 150, function: split_kernel_module_packages 0146: 0147: postinst = d.getVar('pkg_postinst_modules', True) 0148: postrm = d.getVar('pkg_postrm_modules', True) 0149: *** 0150: modules = do_split_packages(d, root='/lib/modules', file_regex=module_regex, output_pattern=module_pattern, description='%s kernel module', postinst=postinst, postrm=postrm, recursive=True, hook=frob_metadata, extra_depends='kernel-%s' % (d.getVar("KERNEL_VERSION", True))) 0151: if modules: 0152: metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE', True) 0153: d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules)) 0154: File: 'package.bbclass', lineno: 148, function: do_split_packages 0144: d.setVar('pkg_postrm_' + pkg, postrm) 0145: else: 0146: d.setVar('FILES_' + pkg, oldfiles + " " + newfile) 0147: if callable(hook): *** 0148: hook(f, pkg, file_regex, output_pattern, m.group(1)) 0149: 0150: d.setVar('PACKAGES', ' '.join(packages)) 0151: return split_packages 0152: File: 'split_kernel_module_packages', lineno: 109, function: frob_metadata File "split_kernel_module_packages", line 109, in frob_metadata Exception: AttributeError: 'NoneType' object has no attribute 'split' ERROR: Function failed: split_kernel_module_packages [YOCTO #6461] [a revised version of a patch from Nitin Kamble] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-selftest/recipes-test')
0 files changed, 0 insertions, 0 deletions