add armhfp compose mock configs and make sure they are installed
This commit is contained in:
parent
878bc25d22
commit
7247c51c21
3 changed files with 79 additions and 0 deletions
40
files/releng/fedora-branched-compose-armhfp.cfg
Normal file
40
files/releng/fedora-branched-compose-armhfp.cfg
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
config_opts['root'] = 'fedora-branched-compose-armhfp'
|
||||||
|
config_opts['target_arch'] = 'armv7hl'
|
||||||
|
config_opts['chroot_setup_cmd'] = 'install @buildsys-build vim-enhanced joe pungi'
|
||||||
|
config_opts['dist'] = 'fc16' # only useful for --resultdir variable subst
|
||||||
|
config_opts['plugin_conf']['root_cache_enable'] = False
|
||||||
|
config_opts['internal_dev_setup'] = False
|
||||||
|
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/srv/pungi', '/srv/pungi' ))
|
||||||
|
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/dev', '/dev' ))
|
||||||
|
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/mnt/koji', '/mnt/koji' ))
|
||||||
|
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/pub/fedora', '/pub/fedora' ))
|
||||||
|
|
||||||
|
|
||||||
|
config_opts['yum.conf'] = """
|
||||||
|
[main]
|
||||||
|
cachedir=/var/cache/yum
|
||||||
|
debuglevel=2
|
||||||
|
reposdir=/dev/null
|
||||||
|
logfile=/var/log/yum.log
|
||||||
|
retries=20
|
||||||
|
obsoletes=1
|
||||||
|
gpgcheck=0
|
||||||
|
assumeyes=1
|
||||||
|
|
||||||
|
# repos
|
||||||
|
|
||||||
|
[fedora]
|
||||||
|
name=fedora
|
||||||
|
baseurl=http://kojipkgs.fedoraproject.org/mash/branched/armhfp/os
|
||||||
|
enabled=1
|
||||||
|
cost=5000
|
||||||
|
|
||||||
|
[static]
|
||||||
|
name=static
|
||||||
|
baseurl=http://kojipkgs.fedoraproject.org/repos/f20-build/latest/armhfp
|
||||||
|
enabled=1
|
||||||
|
#cost=2000
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
37
files/releng/fedora-rawhide-compose-armhfp.cfg
Normal file
37
files/releng/fedora-rawhide-compose-armhfp.cfg
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
config_opts['root'] = 'fedora-rawhide-compose-armhfp'
|
||||||
|
config_opts['target_arch'] = 'armv7hl'
|
||||||
|
config_opts['chroot_setup_cmd'] = 'groupinstall buildsys-build'
|
||||||
|
config_opts['dist'] = 'fc10' # only useful for --resultdir variable subst
|
||||||
|
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/mnt/koji', '/mnt/koji' ))
|
||||||
|
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/pub/fedora', '/pub/fedora' ))
|
||||||
|
config_opts['plugin_conf']['bind_mount_opts']['dirs'].append(('/srv/pungi', '/srv/pungi' ))
|
||||||
|
config_opts['plugin_conf']['root_cache_enable'] = False
|
||||||
|
|
||||||
|
config_opts['yum.conf'] = """
|
||||||
|
[main]
|
||||||
|
cachedir=/var/cache/yum
|
||||||
|
debuglevel=2
|
||||||
|
reposdir=/dev/null
|
||||||
|
logfile=/var/log/yum.log
|
||||||
|
retries=20
|
||||||
|
obsoletes=1
|
||||||
|
gpgcheck=0
|
||||||
|
assumeyes=1
|
||||||
|
|
||||||
|
# repos
|
||||||
|
|
||||||
|
[fedora]
|
||||||
|
name=fedora
|
||||||
|
baseurl=http://kojipkgs.fedoraproject.org/mash/rawhide/armhfp/os
|
||||||
|
enabled=1
|
||||||
|
cost=5000
|
||||||
|
|
||||||
|
[static]
|
||||||
|
name=static
|
||||||
|
baseurl=http://kojipkgs.fedoraproject.org/repos/rawhide/latest/armhfp
|
||||||
|
enabled=1
|
||||||
|
#cost=2000
|
||||||
|
"""
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -126,6 +126,8 @@
|
||||||
- name: put extra special mock configs in
|
- name: put extra special mock configs in
|
||||||
action: copy src=$files/releng/$item dest=/etc/mock/$item mode=644
|
action: copy src=$files/releng/$item dest=/etc/mock/$item mode=644
|
||||||
with_items:
|
with_items:
|
||||||
|
- fedora-branched-compose-armhfp.cfg
|
||||||
|
- fedora-rawhide-compose-armhfp.cfg
|
||||||
- fedora-branched-compose-i386.cfg
|
- fedora-branched-compose-i386.cfg
|
||||||
- fedora-rawhide-compose-i386.cfg
|
- fedora-rawhide-compose-i386.cfg
|
||||||
- fedora-branched-compose-x86_64.cfg
|
- fedora-branched-compose-x86_64.cfg
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue