summaryrefslogtreecommitdiff
path: root/meta/classes/kernel-module-split.bbclass
diff options
context:
space:
mode:
authorMing Liu <peter.x.liu@external.atlascopco.com>2017-01-26 14:26:44 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-31 14:40:18 +0000
commit87d03ffe03d6f01e360bfd51714be96e62506e0a (patch)
treecf559688ac0af051369f46831ac725e9e67c9e11 /meta/classes/kernel-module-split.bbclass
parent6a9454027ced4efbb401a23df94f711b8253c8fa (diff)
downloadopenembedded-core-87d03ffe03d6f01e360bfd51714be96e62506e0a.tar.gz
openembedded-core-87d03ffe03d6f01e360bfd51714be96e62506e0a.tar.bz2
openembedded-core-87d03ffe03d6f01e360bfd51714be96e62506e0a.zip
meta: remove remaining True option to getVar calls
This is a complementary fix to commit 7c552996: [ meta: remove True option to getVar calls ] it intended to remove all True option to getVar calls, but there are still some remaining. Search made with the following regex: getVar ?\((.*), True\) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/kernel-module-split.bbclass')
-rw-r--r--meta/classes/kernel-module-split.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/kernel-module-split.bbclass b/meta/classes/kernel-module-split.bbclass
index 49cd8e944c..db332e57ab 100644
--- a/meta/classes/kernel-module-split.bbclass
+++ b/meta/classes/kernel-module-split.bbclass
@@ -123,7 +123,7 @@ python split_kernel_module_packages () {
d.setVarFlag('RRECOMMENDS_' + pkg, 'nodeprrecs', 1)
# Provide virtual package without postfix
- providevirt = d.getVar('KERNEL_MODULE_PROVIDE_VIRTUAL', True)
+ providevirt = d.getVar('KERNEL_MODULE_PROVIDE_VIRTUAL')
if providevirt == "1":
postfix = format.split('%s')[1]
d.setVar('RPROVIDES_' + pkg, pkg.replace(postfix, ''))
@@ -131,7 +131,7 @@ python split_kernel_module_packages () {
module_regex = '^(.*)\.k?o$'
module_pattern_prefix = d.getVar('KERNEL_MODULE_PACKAGE_PREFIX')
- module_pattern = module_pattern_prefix + 'kernel-module-%s-' + d.getVar("KERNEL_VERSION", True)
+ module_pattern = module_pattern_prefix + 'kernel-module-%s-' + d.getVar("KERNEL_VERSION")
postinst = d.getVar('pkg_postinst_modules')
postrm = d.getVar('pkg_postrm_modules')