Skip to content

Commit

Permalink
feat: pull from Fedora Koji for i686
Browse files Browse the repository at this point in the history
  • Loading branch information
korewaChino committed Jul 19, 2024
1 parent eb70d70 commit 159b1af
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion anda/terra/mock-configs/terra.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
config_opts['package_manager'] = 'dnf5'
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['bootstrap_image'] = 'registry.fedoraproject.org/fedora:{{ releasever }}'
config_opts['mirrored'] = True
config_opts['mirrored'] = config_opts['target_arch'] != 'i686'
config_opts['plugin_conf']['root_cache_enable'] = True
config_opts['plugin_conf']['yum_cache_enable'] = True
config_opts['plugin_conf']['ccache_enable'] = True
Expand Down Expand Up @@ -43,6 +43,14 @@ enabled=1
enabled_metadata=1
metadata_expire=4h

# Only used for multilib builds, pulls straight from fedora koji
[local]
name=local
baseurl=https://kojipkgs.fedoraproject.org/repos/f{{ releasever }}-build/latest/$basearch/
cost=2000
enabled={{ not mirrored }}
skip_if_unavailable=False


{% if mirrored %}
[fedora]
Expand Down

0 comments on commit 159b1af

Please sign in to comment.