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-devtools/qemu/qemu-qoriq_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-devtools') diff --git a/recipes-devtools/qemu/qemu-qoriq_git.bb b/recipes-devtools/qemu/qemu-qoriq_git.bb index 7423b542..889603c9 100644 --- a/recipes-devtools/qemu/qemu-qoriq_git.bb +++ b/recipes-devtools/qemu/qemu-qoriq_git.bb @@ -25,7 +25,7 @@ COMPATIBLE_HOST_mipsarchn64 = "null" PROVIDES = "qemu" python() { - pkgs = d.getVar('PACKAGES', True).split() + pkgs = d.getVar('PACKAGES').split() for p in pkgs: if 'qemu-qoriq' in p: d.appendVar("RPROVIDES_%s" % p, p.replace('qemu-qoriq', 'qemu')) -- cgit v1.2.3-54-g00ecf