From: Michael Tremer Date: Sun, 6 Feb 2011 13:38:24 +0000 (+0100) Subject: Disable to empty the environment when moving into a chroot shell. X-Git-Tag: 0.9.3~209 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19979f200cf7be11f16856bf17157437493cf4cd;p=pakfire.git Disable to empty the environment when moving into a chroot shell. This is kinda buggy and unneccessary as we call a login shell. --- diff --git a/pakfire/builder.py b/pakfire/builder.py index 61de74205..34b66d78e 100644 --- a/pakfire/builder.py +++ b/pakfire/builder.py @@ -443,7 +443,7 @@ class Builder(object): command = "%s=\"%s\" " % (key, val) + command # Empty the environment - command = "env -i - %s" % command + #command = "env -i - %s" % command logging.debug("Shell command: %s" % command)