diff options
author | Amarnath Valluri <amarnath.valluri@intel.com> | 2017-01-04 13:58:23 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-16 18:05:12 +0000 |
commit | 9c2158c0733cd4e6e44faa526d41cd07f6a00c25 (patch) | |
tree | 09efeb89052ce03de63890783c443cd2eb1422aa /meta/classes/kernel-module-split.bbclass | |
parent | 970b76a728509854ee5048f4e2ee8cdab827f25f (diff) | |
download | poky-9c2158c0733cd4e6e44faa526d41cd07f6a00c25.tar.gz |
kernel: Modify kernel modules installation path.
Use ${base_libdir}/modules inplace of /lib/modules for kernel modules installation path.
(From OE-Core rev: 0ccb2efe9837e2915c093341a662dffc1df00866)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Ross Burton <ross.burton@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 efe1b42656..0e4e110f0c 100644 --- a/meta/classes/kernel-module-split.bbclass +++ b/meta/classes/kernel-module-split.bbclass | |||
@@ -127,7 +127,7 @@ python split_kernel_module_packages () { | |||
127 | postinst = d.getVar('pkg_postinst_modules') | 127 | postinst = d.getVar('pkg_postinst_modules') |
128 | postrm = d.getVar('pkg_postrm_modules') | 128 | postrm = d.getVar('pkg_postrm_modules') |
129 | 129 | ||
130 | 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"))) | 130 | modules = do_split_packages(d, root='${base_libdir}/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"))) |
131 | if modules: | 131 | if modules: |
132 | metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE') | 132 | metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE') |
133 | d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules)) | 133 | d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules)) |