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 <dennis@ausil.us>
This commit is contained in:
Dennis Gilmore 2016-02-17 17:03:46 -06:00
parent bf5196af4a
commit 1616de1e1e

View File

@ -50,7 +50,7 @@ class LiveMediaPhase(PhaseBase):
% (extra, variant.uid)) % (extra, variant.uid))
repo.append(translate_path( repo.append(translate_path(
self.compose, self.compose,
self.compose.paths.compose.repository('$arch', v, create_dir=False))) self.compose.paths.compose.repository('$basearch', v, create_dir=False)))
return repo return repo
@ -76,7 +76,7 @@ class LiveMediaPhase(PhaseBase):
% (variant_uid, variant.uid)) % (variant_uid, variant.uid))
return translate_path( return translate_path(
self.compose, self.compose,
self.compose.paths.compose.os_tree('$arch', variant) self.compose.paths.compose.os_tree('$basearch', variant)
) )
def run(self): def run(self):