]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
naoki: Do not use host system's PS1 in chroot.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 18 Sep 2010 18:03:24 +0000 (20:03 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 18 Sep 2010 18:04:20 +0000 (20:04 +0200)
This could contain commands that are not available in
chroot.

naoki/constants.py

index 6a7e14e94ec998a0e81f473b497302c4f4473811..8316194cd4fa8f934fa280809adffd78b27855b0 100644 (file)
@@ -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"],