if os.environ.get("SANDBOX_ON") == "1":
# avoid problems from nested sandbox instances
- env["FEATURES"] = "-sandbox"
+ env["FEATURES"] = "-sandbox -usersandbox"
dirs = [homedir, license_dir, profiles_dir, distdir]
try:
if not portage.process.sandbox_capable or \
os.environ.get("SANDBOX_ON") == "1":
# avoid problems from nested sandbox instances
- make_conf_lines.append('FEATURES="${FEATURES} -sandbox"')
+ make_conf_lines.append('FEATURES="${FEATURES} -sandbox -usersandbox"')
configs = user_config.copy()
configs["make.conf"] = make_conf_lines