mirror of
https://git.yoctoproject.org/poky
synced 2026-04-21 12:32:15 +02:00
kernel: use ${nonarch_base_libdir} for kernel modules installation.
Replace hardcoded '/lib' in kernel modules installation path with
${nonarch_base_libdir}, which is meant exactly for this.
(From OE-Core rev: 22f5ba7154fcbe826d0a3283740903312b2aab46)
Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6a2e06e5d4
commit
0decf1cc1c
@@ -138,7 +138,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='${nonarch_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