From: Michael Tremer Date: Sat, 18 Sep 2010 19:43:39 +0000 (+0200) Subject: naoki: Fix personality for shell. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bbc1a853948f6bfb72d8832a29c3f4e389f7770;p=ipfire-3.x.git naoki: Fix personality for shell. --- diff --git a/naoki/environ.py b/naoki/environ.py index 108aa7f06..4987eac5e 100644 --- a/naoki/environ.py +++ b/naoki/environ.py @@ -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