From b8925c5fed6fbbc219007e7d28cff9fcca619093 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Aug 24 2017 18:49:53 +0000 Subject: PR#548: set task arch for indirection image builds Merges #548 https://pagure.io/koji/pull-request/548 --- diff --git a/hub/kojihub.py b/hub/kojihub.py index 8b137d0..7e57594 100644 --- a/hub/kojihub.py +++ b/hub/kojihub.py @@ -8692,6 +8692,8 @@ class RootExports(object): if 'scratch' not in opts and 'indirection_template_url' not in opts: raise koji.ActionNotAllowed('Non-scratch builds must provide url for the indirection template') + if 'arch' in opts: + taskOpts['arch'] = opts['arch'] return make_task('indirectionimage', [opts], **taskOpts) # Create the image task. Called from _build_image_oz in the client.