[Piuparts-commits] [SCM] piuparts git repository branch, develop, updated. 0.51-51-g1c35bbd

Andreas Beckmann anbe at debian.org
Mon May 27 11:11:47 UTC 2013


The following commit has been merged in the develop branch:
commit c57927010b56a5c0352553ae281a51b8fd49919d
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon May 27 09:35:40 2013 +0200

    p-s: always pass --arch <arch> to piuparts
    
    Signed-off-by: Andreas Beckmann <anbe at debian.org>

diff --git a/debian/changelog b/debian/changelog
index e9382b8..235672b 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ piuparts (0.52) UNRELEASED; urgency=low
   * piuparts-master-backend.py:
   * piuparts-slave.py:
     - Report upgrade tests involving downgrades as untestable.
+    - Always pass --arch <arch> to piuparts.
   * piuparts-analyze.py:
     - Consider archived bugs, too.  (Closes: #669966)
   * piuparts-report.py:
diff --git a/piuparts-slave.py b/piuparts-slave.py
index 6c8897e..212fe9b 100644
--- a/piuparts-slave.py
+++ b/piuparts-slave.py
@@ -628,6 +628,7 @@ class Section:
             command.extend(["--mirror", self._config["mirror"]])
         if self._config["tmpdir"]:
             command.extend(["--tmpdir", self._config["tmpdir"]])
+        command.extend(["--arch", self._config.get_arch()])
         command.extend(["-b", self._get_tarball()])
         if not distupgrade:
             command.extend(["-d", self._config.get_distro()])
@@ -812,6 +813,7 @@ def create_chroot(config, tarball, distro):
         command.extend(["--mirror", config["mirror"]])
     if config["tmpdir"]:
         command.extend(["--tmpdir", config["tmpdir"]])
+    command.extend(["--arch", config.get_arch()])
     command.extend(["-d", distro])
     command.extend(["-s", tarball + ".new"])
     command.extend(["--apt", "dpkg"])

-- 
piuparts git repository



More information about the Piuparts-commits mailing list