summaryrefslogtreecommitdiffstats
path: root/meta/classes/kernel-module-split.bbclass
diff options
context:
space:
mode:
authorJason Wessel <jason.wessel@windriver.com>2017-01-19 13:14:41 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-20 11:53:49 +0000
commit70851481165de030b07cbd28b1c3a27c2db3052b (patch)
tree33b4e349ece0c123874b1be801f92ba1a3ee2131 /meta/classes/kernel-module-split.bbclass
parent78f4011210eacd38859b59357f719c5c1bc7b060 (diff)
downloadpoky-70851481165de030b07cbd28b1c3a27c2db3052b.tar.gz
Revert "kernel: Modify kernel modules installation path."
This reverts commit 0ccb2efe9837e2915c093341a662dffc1df00866. The OVS fails to function and the kernel modules cannot be found by any of the kernel tools such as depmod because they are installed into the wrong directory in multilib 64bit/32bit bulids. (From OE-Core rev: 85cec1e3df68e932c7b210956ef5f17b85f3616f) Signed-off-by: Jason Wessel <jason.wessel@windriver.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.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass
index fd04b72f03..742320cee2 100644
--- a/meta/classes/kernel-module-split.bbclass
+++ b/meta/classes/kernel-module-split.bbclass
@@ -134,7 +134,7 @@ python split_kernel_module_packages () {
134 postinst = d.getVar('pkg_postinst_modules') 134 postinst = d.getVar('pkg_postinst_modules')
135 postrm = d.getVar('pkg_postrm_modules') 135 postrm = d.getVar('pkg_postrm_modules')
136 136
137 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"))) 137 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")))
138 if modules: 138 if modules:
139 metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE') 139 metapkg = d.getVar('KERNEL_MODULES_META_PACKAGE')
140 d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules)) 140 d.appendVar('RDEPENDS_' + metapkg, ' '+' '.join(modules))