From 0b0311386fad928446dbc5cb32954176983addff Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Jul 13 2018 13:51:43 +0000 Subject: new 6.10-updates.noarch.cfg --- diff --git a/mock/6.10-updates.noarch.cfg b/mock/6.10-updates.noarch.cfg new file mode 100644 index 0000000..721fccf --- /dev/null +++ b/mock/6.10-updates.noarch.cfg @@ -0,0 +1,54 @@ +config_opts['root'] = 'TARGETNAME' +config_opts['target_arch'] = 'noarch' +config_opts['legal_host_arches'] = ('noarch','x86_64',) +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 which xz' +config_opts['dist'] = 'el6' # only useful for --resultdir variable subst +config_opts['macros']['%dist'] = ".el6" +config_opts['%centos_ver'] = "6" +config_opts['macros']['%centos_ver'] = "6" +config_opts['macros']['%rhel'] = "6" +config_opts['macros']['%el6'] = "1" +config_opts['macros']['%redhat'] = "6" +config_opts['macros']['%_vendor'] = "redhat" +config_opts['macros']['%_vendor_host'] = "redhat" +config_opts['macros']['%_host'] = "x86_64-redhat-linux-gnu" +config_opts['macros']['%vendor'] = "CentOS" +config_opts['macros']['%packager'] = "CentOS BuildSystem " + +# no ccache in base repo +config_opts['plugin_conf']['ccache_enable'] = False +config_opts['plugin_conf']['yum_cache_enable'] = False + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +keepcache=1 +debuglevel=2 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +syslog_ident=mock +syslog_device= + +# repos + +[all] +name=centos 6 x86_64 - all +baseurl=http://repohost/repo/6.all.x86_64/ +enabled=1 +gpgcheck=0 +cost=2000 +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 glibc-static.i686 + +[6.10-updates] +name=6.10-updates +baseurl=http://repohost/repo/6.10-updates.x86_64/ +enabled=1 +gpgcheck=0 +cost=1900 +includepkgs=*.x86_64 *.noarch glibc.i686 glibc-devel.i686 nss-softokn-freebl*.i686 glibc-static.i686 +""" +