From: Michael Tremer Date: Sat, 18 Sep 2010 18:03:24 +0000 (+0200) Subject: naoki: Do not use host system's PS1 in chroot. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18e85acea02d3f8bbfbe06c3bfa0aa836a39105d;p=ipfire-3.x.git naoki: Do not use host system's PS1 in chroot. This could contain commands that are not available in chroot. --- diff --git a/naoki/constants.py b/naoki/constants.py index 6a7e14e94..8316194cd 100644 --- a/naoki/constants.py +++ b/naoki/constants.py @@ -142,7 +142,7 @@ class Config(object): ret = { "HOME" : os.environ.get("HOME", "/root"), "TERM" : os.environ.get("TERM", ""), - "PS1" : os.environ.get("PS1", "\u:\w\$ "), + "PS1" : "\u:\w\$ ", # "DISTRO_NAME" : self["distro_name"], "DISTRO_SNAME" : self["distro_sname"],