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 10:23:23 +0000 |
commit | 3c59b1bf93adb0b9f723bda1d8702c8720733677 (patch) | |
tree | d1939643e2d02f0ce2e9ef33e235cd23cd5000d3 /meta/classes/devshell.bbclass | |
parent | c0f2890c01882e9ea14e781c044f3a84f75bd0fc (diff) | |
download | poky-3c59b1bf93adb0b9f723bda1d8702c8720733677.tar.gz |
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\)
(From OE-Core rev: 2dea9e490a98377010b3d4118d054814c317a735)
Signed-off-by: Joshua Lock <joshua.g.lock@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 | |||
3 | DEVSHELL = "${SHELL}" | 3 | DEVSHELL = "${SHELL}" |
4 | 4 | ||
5 | python do_devshell () { | 5 | python do_devshell () { |
6 | if d.getVarFlag("do_devshell", "manualfakeroot", True): | 6 | if d.getVarFlag("do_devshell", "manualfakeroot"): |
7 | d.prependVar("DEVSHELL", "pseudo ") | 7 | d.prependVar("DEVSHELL", "pseudo ") |
8 | fakeenv = d.getVar("FAKEROOTENV").split() | 8 | fakeenv = d.getVar("FAKEROOTENV").split() |
9 | for f in fakeenv: | 9 | for f in fakeenv: |
@@ -27,7 +27,7 @@ do_devshell[nostamp] = "1" | |||
27 | # be done as the normal user. We therfore carefully construct the envionment | 27 | # be done as the normal user. We therfore carefully construct the envionment |
28 | # manually | 28 | # manually |
29 | python () { | 29 | python () { |
30 | if d.getVarFlag("do_devshell", "fakeroot", True): | 30 | if d.getVarFlag("do_devshell", "fakeroot"): |
31 | # We need to signal our code that we want fakeroot however we | 31 | # We need to signal our code that we want fakeroot however we |
32 | # can't manipulate the environment and variables here yet (see YOCTO #4795) | 32 | # can't manipulate the environment and variables here yet (see YOCTO #4795) |
33 | d.setVarFlag("do_devshell", "manualfakeroot", "1") | 33 | d.setVarFlag("do_devshell", "manualfakeroot", "1") |