From d69e7a9b09c2f82c189d1bfceb175db5a8f3f868 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 7 Dec 2011 16:52:51 +0100 Subject: [PATCH] Send architecture to pakfire instance running in chroot. --- python/pakfire/builder.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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) -- 2.39.5