]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel-module-split: append space to RDEPENDS
authorMartin Jansa <martin.jansa@gmail.com>
Wed, 6 Mar 2013 00:52:31 +0000 (01:52 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 7 Mar 2013 11:13:09 +0000 (11:13 +0000)
* it was generating invalid RDEPENDS when KERNEL_MODULES_META_PACKAGE had
  RDEPENDS set already without trailing space

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/kernel-module-split.bbclass

index aa0c499b79bf8f485fac4427f153b747e3c0a8b4..45639c613c190816b16f43c61e4fe65e6af11fec 100644 (file)
@@ -173,7 +173,7 @@ python split_kernel_module_packages () {
     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)))
     if modules:
         metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE', True)
-        d.appendVar('RDEPENDS_' + metapkg, ' '.join(modules))
+        d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules))
 
     # If modules-load.d and modprobe.d are empty at this point, remove them to
     # avoid warnings. removedirs only raises an OSError if an empty