|
|
a6aa09 |
config_opts['root'] = 'TARGETNAME'
|
|
|
a6aa09 |
config_opts['basedir'] = '/var/lib/mock'
|
|
|
a6aa09 |
config_opts['target_arch'] = 'ppc64'
|
|
|
a6aa09 |
config_opts['legal_host_arches'] = ('ppc64', 'noarch')
|
|
|
a6aa09 |
config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils system-release findutils gawk gcc gcc-c++ grep gzip info make patch redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux vim-minimal which xz'
|
|
|
a6aa09 |
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
|
|
|
a6aa09 |
|
|
|
a6aa09 |
config_opts['%centos_ver'] = "7"
|
|
|
a6aa09 |
config_opts['macros']['%centos_ver'] = "7"
|
|
|
a6aa09 |
config_opts['macros']['%rhel'] = "7"
|
|
|
a6aa09 |
config_opts['macros']['%el7'] = "1"
|
|
|
a6aa09 |
config_opts['macros']['%redhat'] = "7"
|
|
|
a6aa09 |
config_opts['macros']['%vendor'] = "CentOS"
|
|
|
a6aa09 |
config_opts['macros']['%packager'] = "CentOS BuildSystem <http://bugs.centos.org>"
|
|
|
a6aa09 |
config_opts['macros']['%_vendor'] = "redhat"
|
|
|
a6aa09 |
config_opts['macros']['%_vendor_host'] = "redhat"
|
|
|
a6aa09 |
config_opts['macros']['%_host'] = "ppc64-redhat-linux-gnu"
|
|
|
a6aa09 |
|
|
|
a6aa09 |
config_opts['plugin_conf']['ccache_enable'] = False
|
|
|
a6aa09 |
|
|
|
a6aa09 |
config_opts['yum.conf'] = """
|
|
|
a6aa09 |
[main]
|
|
|
a6aa09 |
cachedir=/var/cache/yum
|
|
|
a6aa09 |
debuglevel=1
|
|
|
a6aa09 |
reposdir=/dev/null
|
|
|
a6aa09 |
logfile=/var/log/yum.log
|
|
|
a6aa09 |
retries=20
|
|
|
a6aa09 |
obsoletes=1
|
|
|
a6aa09 |
gpgcheck=0
|
|
|
a6aa09 |
assumeyes=1
|
|
|
a6aa09 |
syslog_ident=mock
|
|
|
a6aa09 |
syslog_device=
|
|
|
a6aa09 |
|
|
|
a6aa09 |
# repos
|
|
|
a6aa09 |
[c7.1708.u.ppc64]
|
|
|
a6aa09 |
name=c7.1708.u.ppc64
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.1708.u.ppc64/
|
|
|
a6aa09 |
gpgcheck=0
|
|
|
a6aa09 |
cost=1900
|
|
|
b365d0 |
includepkgs=*.ppc64 *.noarch glibc.ppc glibc-devel.ppc nss-softokn-freebl*.ppc
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7.1708.00.ppc64]
|
|
|
a6aa09 |
name=c7.1708.00.ppc64
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.1708.00.ppc64/
|
|
|
a6aa09 |
gpgcheck=0
|
|
|
a6aa09 |
cost=1700
|
|
|
b365d0 |
includepkgs=*.ppc64 *.noarch glibc.ppc glibc-devel.ppc nss-softokn-freebl*.ppc
|
|
|
a6aa09 |
|
|
|
a6aa09 |
[c7.1804.00.ppc64]
|
|
|
a6aa09 |
name=c7.1804.00.ppc64
|
|
|
a6aa09 |
baseurl=http://repohost/repo/c7.1804.00.ppc64/
|
|
|
a6aa09 |
gpgcheck=0
|
|
|
a6aa09 |
cost=1700
|
|
|
b365d0 |
includepkgs=*.ppc64 *.noarch glibc.ppc glibc-devel.ppc nss-softokn-freebl*.ppc
|
|
|
a6aa09 |
|
|
|
a6aa09 |
"""
|
|
|
a6aa09 |
|