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>
This commit is contained in:
parent
00b7714152
commit
750d475a91
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue