kernel-module-split: append space to RDEPENDS
PATCH 1/1 kernel-module-split: append space to RDEPENDS
* it was generating invalid RDEPENDS when KERNEL_MODULES_META_PACKAGE had RDEPENDS set already without trailing space
Signed-off-by Martin Jansa <[email protected]>
--- meta/classes/kernel-module-split.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/kernel-module-split.bbclass +1 -1
@@ -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
Signature · 1 line
1.8.1.5
Quoted 4 lines · Martin Jansa
* it was generating invalid RDEPENDS when
KERNEL_MODULES_META_PACKAGEhad RDEPENDS set already without trailing spaceSigned-off-by Martin Jansa <[email protected]>
Yes this fixes my regression
Tested-by Khem Raj <[email protected]>
Quoted 25 lines
--- meta/classes/kernel-module-split.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)meta/classes/kernel-module-split.bbclass +1
-2@@ -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 --1.8.1.5
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core