mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
970b76a728
commit
9c2158c073
@@ -127,7 +127,7 @@ python split_kernel_module_packages () {
|
||||
postinst = d.getVar('pkg_postinst_modules')
|
||||
postrm = d.getVar('pkg_postrm_modules')
|
||||
|
||||
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")))
|
||||
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")))
|
||||
if modules:
|
||||
metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE')
|
||||
d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules))
|
||||
|
||||
Reference in New Issue
Block a user