summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2013-03-06 01:52:31 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-03-07 11:14:40 +0000
commit750d475a917cfde03d49cc350a3e1123bda5b1c6 (patch)
treeec6cd369aeaffea5a926525c1c417a5bd352775d /meta
parent00b771415282f5bcbae105ee556b2bf76416bda3 (diff)
downloadpoky-750d475a917cfde03d49cc350a3e1123bda5b1c6.tar.gz
kernel-module-split: append space to RDEPENDS
* it was generating invalid RDEPENDS when KERNEL_MODULES_META_PACKAGE had RDEPENDS set already without trailing space (From OE-Core rev: 5ff26f61b6860e56c255b2b6a2b0215be75b1db9) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/kernel-module-split.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass
index aa0c499b79..45639c613c 100644
--- a/meta/classes/kernel-module-split.bbclass
+++ b/meta/classes/kernel-module-split.bbclass
@@ -173,7 +173,7 @@ python split_kernel_module_packages () {
173 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))) 173 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)))
174 if modules: 174 if modules:
175 metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE', True) 175 metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE', True)
176 d.appendVar('RDEPENDS_' + metapkg, ' '.join(modules)) 176 d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules))
177 177
178 # If modules-load.d and modprobe.d are empty at this point, remove them to 178 # If modules-load.d and modprobe.d are empty at this point, remove them to
179 # avoid warnings. removedirs only raises an OSError if an empty 179 # avoid warnings. removedirs only raises an OSError if an empty