copr: add mock custom configs
This commit is contained in:
parent
bee008c227
commit
cb7f73059c
4 changed files with 6 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
config_opts['root'] = 'custom-0-i386'
|
||||
config_opts['target_arch'] = 'i686'
|
||||
config_opts['legal_host_arches'] = ('i386', 'i586', 'i686', 'x86_64')
|
||||
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
|
||||
config_opts['chroot_setup_cmd'] = ''
|
||||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
config_opts['root'] = 'custom-0-ppc64le'
|
||||
config_opts['target_arch'] = 'ppc64le'
|
||||
config_opts['legal_host_arches'] = ('ppc64le',)
|
||||
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
|
||||
config_opts['chroot_setup_cmd'] = ''
|
||||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
config_opts['root'] = 'custom-0-x86_64'
|
||||
config_opts['target_arch'] = 'x86_64'
|
||||
config_opts['legal_host_arches'] = ('x86_64',)
|
||||
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
|
||||
config_opts['chroot_setup_cmd'] = ''
|
||||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
|
||||
|
|
|
@ -50,6 +50,9 @@
|
|||
template: src=files/mock/{{ item }} dest=/etc/mock
|
||||
with_items:
|
||||
- site-defaults.cfg
|
||||
- custom-0-x86_64.cfg
|
||||
- custom-0-i386.cfg
|
||||
- custom-0-ppc64le.cfg
|
||||
|
||||
# TODO: file globs or ansible escaping works strange, now using predefined file location
|
||||
#- name: "fix mock configs to use nearest mirror"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue