]> git.ipfire.org Git - pakfire.git/commitdiff
Disable to empty the environment when moving into a chroot shell.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 6 Feb 2011 13:38:24 +0000 (14:38 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 6 Feb 2011 13:38:24 +0000 (14:38 +0100)
This is kinda buggy and unneccessary as we call a login shell.

pakfire/builder.py

index 61de74205029f0556370dfef11453e9204549b48..34b66d78eac7db531d151c764232bc62d8c15207 100644 (file)
@@ -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)