bodhi-pungi: fix image-build urls for install_tree_from
Since $basearch won't work in the url we need to manually substitute arch. Make a for loop and specify a unique url for each arch.
This commit is contained in:
parent
9bd9110781
commit
feb33826b3
1 changed files with 5 additions and 3 deletions
|
@ -196,6 +196,7 @@ volume_id_substitutions = {
|
|||
image_build = {
|
||||
'^Everything$': [
|
||||
{
|
||||
[% for arch in ['x86_64', 'aarch64', 'ppc64le'] %]
|
||||
'image-build': {
|
||||
'format': [('qcow2', 'qcow2'), ('raw-xz', 'raw.xz')],
|
||||
'name': 'Fedora-Atomic',
|
||||
|
@ -203,11 +204,12 @@ image_build = {
|
|||
'distro': 'Fedora-22',
|
||||
'disk_size': 6,
|
||||
'target': 'f[[ release.version_int ]]',
|
||||
'arches': ['x86_64', 'aarch64', 'ppc64le'],
|
||||
'install_tree_from': "https://kojipkgs{{ env_suffix }}.fedoraproject.org/compose/branched/latest-Fedora-[[ release.version_int ]]/compose/Everything/$basearch/os/"
|
||||
'arches': ['[[arch]]'],
|
||||
'install_tree_from': "https://kojipkgs{{ env_suffix }}.fedoraproject.org/compose/branched/latest-Fedora-[[ release.version_int ]]/compose/Everything/[[arch]]/os/"
|
||||
'subvariant': 'AtomicHost',
|
||||
'failable': ['*'],
|
||||
}
|
||||
},
|
||||
[% endfor %]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue