From 74df05a7f0fd698cbbe65b9bf925f186891426ca Mon Sep 17 00:00:00 2001 From: André Draszik Date: Thu, 17 Jan 2019 14:29:17 +0000 Subject: remove True option to getVar calls MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit getVar() has been defaulting to expanding by default for a long time (2016), thus remove the True option from getVar() calls with a regex search and replace. Search & replace made using the following command: sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \ -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \ | cut -d':' -f1 \ | sort -u) Signed-off-by: André Draszik --- recipes-kernel/cryptodev/cryptodev-qoriq_1.9.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-kernel/cryptodev') diff --git a/recipes-kernel/cryptodev/cryptodev-qoriq_1.9.inc b/recipes-kernel/cryptodev/cryptodev-qoriq_1.9.inc index 0d7249fdc..ad54fc9e9 100644 --- a/recipes-kernel/cryptodev/cryptodev-qoriq_1.9.inc +++ b/recipes-kernel/cryptodev/cryptodev-qoriq_1.9.inc @@ -4,7 +4,7 @@ LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" python() { - pkgs = d.getVar('PACKAGES', True).split() + pkgs = d.getVar('PACKAGES').split() for p in pkgs: if 'cryptodev-qoriq' in p: d.appendVar("RPROVIDES_%s" % p, p.replace('cryptodev-qoriq', 'cryptodev')) -- cgit v1.2.3-54-g00ecf