diff options
author | Joshua Lock <joshua.g.lock@intel.com> | 2016-12-14 21:13:06 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-16 08:30:03 +0000 |
commit | 2dea9e490a98377010b3d4118d054814c317a735 (patch) | |
tree | 8f147f6c6ebc6c74838a69457d71fe7de5dbb3fd /meta/classes/devshell.bbclass | |
parent | 0a36bd96e6b29fd99a296efc358ca3e9fb5af735 (diff) | |
download | openembedded-core-2dea9e490a98377010b3d4118d054814c317a735.tar.gz openembedded-core-2dea9e490a98377010b3d4118d054814c317a735.tar.bz2 openembedded-core-2dea9e490a98377010b3d4118d054814c317a735.zip |
meta: remove True option to getVarFlag calls
getVarFlag() now defaults to expanding by default, thus remove the
True option from getVarFlag() calls with a regex search and
replace.
Search made with the following regex:
getVarFlag ?\(( ?[^,()]*, ?[^,()]*), True\)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta/classes/devshell.bbclass')
-rw-r--r-- | meta/classes/devshell.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass index 864ace4cb4..4de7ea6fce 100644 --- a/meta/classes/devshell.bbclass +++ b/meta/classes/devshell.bbclass @@ -3,7 +3,7 @@ inherit terminal DEVSHELL = "${SHELL}" python do_devshell () { - if d.getVarFlag("do_devshell", "manualfakeroot", True): + if d.getVarFlag("do_devshell", "manualfakeroot"): d.prependVar("DEVSHELL", "pseudo ") fakeenv = d.getVar("FAKEROOTENV").split() for f in fakeenv: @@ -27,7 +27,7 @@ do_devshell[nostamp] = "1" # be done as the normal user. We therfore carefully construct the envionment # manually python () { - if d.getVarFlag("do_devshell", "fakeroot", True): + if d.getVarFlag("do_devshell", "fakeroot"): # We need to signal our code that we want fakeroot however we # can't manipulate the environment and variables here yet (see YOCTO #4795) d.setVarFlag("do_devshell", "manualfakeroot", "1") |