~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/buildd/binarypackage.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2010-08-06 02:21:05 UTC
  • mfrom: (11121.3.7 multi-arch-builders)
  • Revision ID: launchpad@pqm.canonical.com-20100806022105-gwaj254smn1dvcql
[r=jtv][ui=none][bug=491418] The architecture of a build slave can
        now be set through the web UI, and the slave will respect the setting.

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
 
68
68
    def doRunBuild(self):
69
69
        """Run the sbuild process to build the package."""
70
 
        args = ["sbuild-package", self._buildid ]
 
70
        args = ["sbuild-package", self._buildid, self.arch_tag]
71
71
        if self.suite:
72
72
            args.extend([self.suite])
73
73
            args.extend(self._sbuildargs)
82
82
            args.extend(["--purpose=" + self.archive_purpose])
83
83
        if self.build_debug_symbols:
84
84
            args.extend(["--build-debug-symbols"])
 
85
        args.extend(["--architecture=" + self.arch_tag])
85
86
        args.extend(["--comp=" + self.component])
86
87
        args.extend([self._dscfile])
87
88
        self.runSubProcess( self._sbuildpath, args )