[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.42-14-g5c2eadd

Andreas Beckmann debian at abeckmann.de
Mon Jan 9 12:18:21 UTC 2012


The following commit has been merged in the develop branch:
commit 142c2cdfadb36aea12f14e3e8a6d629c19a98f7d
Author: Andreas Beckmann <debian at abeckmann.de>
Date:   Sun Jan 8 18:48:53 2012 +0100

    unset DISPLAY
    
    remove the DISPLAY variable from the environment, so that it does
    not get inherited by commands being run in the chroot (that don't
    have access to the correct auth cookies anyway)
    
    Signed-off-by: Andreas Beckmann <debian at abeckmann.de>

diff --git a/piuparts.py b/piuparts.py
index 15c57fd..ba859df 100644
--- a/piuparts.py
+++ b/piuparts.py
@@ -2578,6 +2578,9 @@ def main():
     # Packages that don't use debconf will lose.
     os.environ["DEBIAN_FRONTEND"] = "noninteractive"
 
+    if "DISPLAY" in os.environ:
+        del os.environ["DISPLAY"]
+
 
     changes_packages_list = []
     regular_packages_list = []

-- 
piuparts git repository



More information about the Piuparts-commits mailing list