summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2022-07-27 09:10:41 +0200
committerMichał Górny <mgorny@gentoo.org>2022-08-02 06:03:42 +0200
commitaa7fdc965621b413d85624ea30e9452a4130aced (patch)
tree28fdaea055bfcd9aa4b4c28713498f0d3076dc48 /eclass
parentvirtualx.eclass: Let Xvfb figure out the free DISPLAY (diff)
downloadgentoo-aa7fdc965621b413d85624ea30e9452a4130aced.tar.gz
gentoo-aa7fdc965621b413d85624ea30e9452a4130aced.tar.bz2
gentoo-aa7fdc965621b413d85624ea30e9452a4130aced.zip
virtualx.eclass: Do not disable sandbox
The code responsible for disabling sandbox dates back to 2002 and does not include any explanation. Let's try if we still need it. Bug: https://bugs.gentoo.org/107479 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/virtualx.eclass7
1 files changed, 0 insertions, 7 deletions
diff --git a/eclass/virtualx.eclass b/eclass/virtualx.eclass
index c0af095e89a5..e04834d39bd1 100644
--- a/eclass/virtualx.eclass
+++ b/eclass/virtualx.eclass
@@ -107,7 +107,6 @@ virtx() {
local i=0
local retval=0
- local OLD_SANDBOX_ON="${SANDBOX_ON}"
local xvfbargs=( -screen 0 1280x1024x24 +extension RANDR )
debug-print "${FUNCNAME}: running Xvfb hack"
@@ -115,9 +114,6 @@ virtx() {
einfo "Starting Xvfb ..."
- # We really do not want SANDBOX enabled here
- export SANDBOX_ON="0"
-
debug-print "${FUNCNAME}: Xvfb -displayfd 1 ${xvfbargs[*]}"
local logfile=${T}/Xvfb.log
local pidfile=${T}/Xvfb.pid
@@ -134,9 +130,6 @@ virtx() {
die "Xvfb failed to start"
fi
- # Now enable SANDBOX again if needed.
- export SANDBOX_ON="${OLD_SANDBOX_ON}"
-
# Do not break on error, but setup $retval, as we need to kill Xvfb
einfo "Xvfb started on DISPLAY=${DISPLAY}"
debug-print "${FUNCNAME}: $@"