diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2013-03-06 01:52:31 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-03-07 11:14:40 +0000 |
| commit | 750d475a917cfde03d49cc350a3e1123bda5b1c6 (patch) | |
| tree | ec6cd369aeaffea5a926525c1c417a5bd352775d /meta/classes/kernel-module-split.bbclass | |
| parent | 00b771415282f5bcbae105ee556b2bf76416bda3 (diff) | |
| download | poky-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/classes/kernel-module-split.bbclass')
| -rw-r--r-- | meta/classes/kernel-module-split.bbclass | 2 |
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 |
