mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
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>
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user