diff options
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 4451436473..341d9c0002 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"): | 6 | if d.getVarFlag("do_devshell", "manualfakeroot", True): |
7 | d.prependVar("DEVSHELL", "pseudo ") | 7 | d.prependVar("DEVSHELL", "pseudo ") |
8 | fakeenv = d.getVar("FAKEROOTENV", True).split() | 8 | fakeenv = d.getVar("FAKEROOTENV", True).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"): | 30 | if d.getVarFlag("do_devshell", "fakeroot", True): |
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") |