diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2022-04-25 23:35:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-04-26 18:25:08 +0100 |
commit | d7300f37a3731530e7629b09b470117aefdb66ae (patch) | |
tree | fedcb2d3795784069f7b82290e11f3f77d1cff68 /meta | |
parent | 1e48a0e438934468fbfa4ed491d0b8c81205715a (diff) | |
download | poky-d7300f37a3731530e7629b09b470117aefdb66ae.tar.gz |
devshell.bbclass: Allow devshell & pydevshell to use the network
Otherwise it will fail if using OE_TERMINAL = "xterm" with the not so
helpful error:
xterm: Xt error: Can't open display: localhost:0.0
(From OE-Core rev: ba53fc3bcecfe32401471dc1008c7ead96504150)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/devshell.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/devshell.bbclass b/meta/classes/devshell.bbclass index 75604d0c07..247d04478c 100644 --- a/meta/classes/devshell.bbclass +++ b/meta/classes/devshell.bbclass | |||
@@ -23,6 +23,7 @@ addtask devshell after do_patch do_prepare_recipe_sysroot | |||
23 | DEVSHELL_STARTDIR ?= "${S}" | 23 | DEVSHELL_STARTDIR ?= "${S}" |
24 | do_devshell[dirs] = "${DEVSHELL_STARTDIR}" | 24 | do_devshell[dirs] = "${DEVSHELL_STARTDIR}" |
25 | do_devshell[nostamp] = "1" | 25 | do_devshell[nostamp] = "1" |
26 | do_devshell[network] = "1" | ||
26 | 27 | ||
27 | # devshell and fakeroot/pseudo need careful handling since only the final | 28 | # devshell and fakeroot/pseudo need careful handling since only the final |
28 | # command should run under fakeroot emulation, any X connection should | 29 | # command should run under fakeroot emulation, any X connection should |
@@ -156,3 +157,4 @@ python do_pydevshell() { | |||
156 | addtask pydevshell after do_patch | 157 | addtask pydevshell after do_patch |
157 | 158 | ||
158 | do_pydevshell[nostamp] = "1" | 159 | do_pydevshell[nostamp] = "1" |
160 | do_pydevshell[network] = "1" | ||