]> code.ossystems Code Review - openembedded-core.git/commit
kernel-module-split.bbclass: fix kernel modules getting marked as CONFFILES
authorGratian Crisan <gratian.crisan@ni.com>
Fri, 4 Dec 2020 19:30:21 +0000 (13:30 -0600)
committerSteve Sakoman <steve@sakoman.com>
Thu, 10 Dec 2020 14:11:06 +0000 (04:11 -1000)
commitf1f904ebf2aef54c4c867d5d2c842ec5d53d3c78
tree3af3cabee9ce36c0c310622fd0b33dc85073e654
parenta4944e9b553ddf55da9d9a1243fadc93a620b003
kernel-module-split.bbclass: fix kernel modules getting marked as CONFFILES

Yi pointed out that commit 1a70a92d1f10 ("kernel-module-split.bbclass:
identify kernel modconf files as configuration files") is
unintentionally adding the actual kernel /lib/modules .ko files to the
CONFFILES variable.

The root cause is the re-use of the 'files' variable in that commit.
Fix it by using a separate variable to keep track of the generated
module .conf files that need to be marked as configuration files.

Fixes: 1a70a92d1f10 ("kernel-module-split.bbclass: identify kernel modconf files as configuration files")
Reported-by: Yi Zhao <yi.zhao@windriver.com>
Signed-off-by: Gratian Crisan <gratian.crisan@ni.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit db5f2ca532db4f0d2e05b7cb5f9d146e1dd76ab3)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/classes/kernel-module-split.bbclass