From: Michael Tremer Date: Wed, 7 Dec 2011 15:52:51 +0000 (+0100) Subject: Send architecture to pakfire instance running in chroot. X-Git-Tag: 0.9.19~19 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d69e7a9b09c2f82c189d1bfceb175db5a8f3f868;p=pakfire.git Send architecture to pakfire instance running in chroot. --- diff --git a/python/pakfire/builder.py b/python/pakfire/builder.py index c28d3ddb6..fb2a5a165 100644 --- a/python/pakfire/builder.py +++ b/python/pakfire/builder.py @@ -557,8 +557,9 @@ class BuildEnviron(object): resultdir = self.chrootPath("/result") # Create the build command, that is executed in the chroot. - build_command = ["/usr/lib/pakfire/builder", "--offline", "build", pkgfile, - "--nodeps", "--resultdir=/result",] + build_command = ["/usr/lib/pakfire/builder", "--offline", + "build", pkgfile, "--arch", self.arch, "--nodeps", + "--resultdir=/result",] try: self.do(" ".join(build_command), logger=self.log)