mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
kernel-module-split.bbclass: identify kernel modconf files as configuration files
Currently the modconf fragments representing the configuration for kernel modules are written out to appropriate .conf files and added to the FILES variable. However they are not identified as 'configuration files' and installing a new version of a kernel module results in a conflict and a failed installed because the respective .conf file is already in place from a previous install. Add the generated .conf files to the CONFFILES variable denoting their true nature. (From OE-Core rev: b5a113273dc4c062a4b734a403a3bb4a5e92c8ee) Signed-off-by: Gratian Crisan <gratian.crisan@ni.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 1a70a92d1f1006be115429a4262259c9084f484d) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
d81bae241c
commit
8d40fce484
@@ -120,6 +120,7 @@ python split_kernel_module_packages () {
|
||||
files = d.getVar('FILES_%s' % pkg)
|
||||
files = "%s /etc/modules-load.d/%s.conf /etc/modprobe.d/%s.conf" % (files, basename, basename)
|
||||
d.setVar('FILES_%s' % pkg, files)
|
||||
d.setVar('CONFFILES_%s' % pkg, files)
|
||||
|
||||
if "description" in vals:
|
||||
old_desc = d.getVar('DESCRIPTION_' + pkg) or ""
|
||||
|
||||
Reference in New Issue
Block a user