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:
parent
bf5196af4a
commit
1616de1e1e
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user