]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
naoki: Fix personality for shell.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 18 Sep 2010 19:43:39 +0000 (21:43 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 18 Sep 2010 19:43:39 +0000 (21:43 +0200)
naoki/environ.py

index 108aa7f06028acdb3e160b33e5197ceb9d2f2eb1..4987eac5e1268a39e80054b07f07afbe18c0bc9e 100644 (file)
@@ -316,8 +316,8 @@ class Build(_Environment):
                        (os.path.dirname(file), file, target), shell=True)
 
        def shell(self, args=[]):
-               command = "chroot %s /usr/src/tools/chroot-shell %s" % \
-                       (self.chrootPath(), " ".join(args))
+               command = "%s chroot %s /usr/src/tools/chroot-shell %s" % \
+                       (self.arch.personality, self.chrootPath(), " ".join(args))
 
                for key, val in self.variables().items():
                        command = "%s=\"%s\" " % (key, val) + command