summaryrefslogtreecommitdiffstats
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:43:02 +0000
commite2280b9e12f625b4aa55dba86e68046a55326a8a (patch)
treeefc8f97ab7cc624e812f1d6c2946f919f71efcf0 /meta/classes/kernel-module-split.bbclass
parent8b448ab0127cfc79df8ce601e2e8b93179ebbcbc (diff)
downloadpoky-e2280b9e12f625b4aa55dba86e68046a55326a8a.tar.gz
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\) (From OE-Core rev: 87d03ffe03d6f01e360bfd51714be96e62506e0a) Signed-off-by: Ming Liu <peter.x.liu@external.atlascopco.com> Signed-off-by: Ross Burton <ross.burton@intel.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.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 () {
123 d.setVarFlag('RRECOMMENDS_' + pkg, 'nodeprrecs', 1) 123 d.setVarFlag('RRECOMMENDS_' + pkg, 'nodeprrecs', 1)
124 124
125 # Provide virtual package without postfix 125 # Provide virtual package without postfix
126 providevirt = d.getVar('KERNEL_MODULE_PROVIDE_VIRTUAL', True) 126 providevirt = d.getVar('KERNEL_MODULE_PROVIDE_VIRTUAL')
127 if providevirt == "1": 127 if providevirt == "1":
128 postfix = format.split('%s')[1] 128 postfix = format.split('%s')[1]
129 d.setVar('RPROVIDES_' + pkg, pkg.replace(postfix, '')) 129 d.setVar('RPROVIDES_' + pkg, pkg.replace(postfix, ''))
@@ -131,7 +131,7 @@ python split_kernel_module_packages () {
131 module_regex = '^(.*)\.k?o$' 131 module_regex = '^(.*)\.k?o$'
132 132
133 module_pattern_prefix = d.getVar('KERNEL_MODULE_PACKAGE_PREFIX') 133 module_pattern_prefix = d.getVar('KERNEL_MODULE_PACKAGE_PREFIX')
134 module_pattern = module_pattern_prefix + 'kernel-module-%s-' + d.getVar("KERNEL_VERSION", True) 134 module_pattern = module_pattern_prefix + 'kernel-module-%s-' + d.getVar("KERNEL_VERSION")
135 135
136 postinst = d.getVar('pkg_postinst_modules') 136 postinst = d.getVar('pkg_postinst_modules')
137 postrm = d.getVar('pkg_postrm_modules') 137 postrm = d.getVar('pkg_postrm_modules')