From 1616de1e1e196a7a0536d0a0a4b835dc88c0f1c4 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Wed, 17 Feb 2016 17:03:46 -0600 Subject: [PATCH] use $basearch not $arch in livemedia tasks koji for livemedia acts different to image builds and does not translate $arch to x86_64, i386, etc so we need to just pass in $basearch so that yum/dnf will translate it for us Signed-off-by: Dennis Gilmore --- pungi/phases/livemedia_phase.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pungi/phases/livemedia_phase.py b/pungi/phases/livemedia_phase.py index fa811020..8ddb6063 100644 --- a/pungi/phases/livemedia_phase.py +++ b/pungi/phases/livemedia_phase.py @@ -50,7 +50,7 @@ class LiveMediaPhase(PhaseBase): % (extra, variant.uid)) repo.append(translate_path( self.compose, - self.compose.paths.compose.repository('$arch', v, create_dir=False))) + self.compose.paths.compose.repository('$basearch', v, create_dir=False))) return repo @@ -76,7 +76,7 @@ class LiveMediaPhase(PhaseBase): % (variant_uid, variant.uid)) return translate_path( self.compose, - self.compose.paths.compose.os_tree('$arch', variant) + self.compose.paths.compose.os_tree('$basearch', variant) ) def run(self):