From fbfbcdbe12be6b4602daf893e01e66836565dc5d Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Apr 13 2016 12:37:29 +0000 Subject: add a mock config for 32 bit arm (armhfp) --- diff --git a/mock/centos-7-armhfp.cfg b/mock/centos-7-armhfp.cfg new file mode 100644 index 0000000..35e3b90 --- /dev/null +++ b/mock/centos-7-armhfp.cfg @@ -0,0 +1,55 @@ +config_opts['root'] = 'centos-7-armhfp' +config_opts['target_arch'] = 'armv7hl' +config_opts['legal_host_arches'] = ('armv7l') +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'] = 'el7' # only useful for --resultdir variable subst +config_opts['extra_chroot_dirs'] = [ '/run/lock', ] +config_opts['macros']['%dist'] = ".el7" +config_opts['%centos_ver'] = "7" +config_opts['macros']['%centos_ver'] = "7" +config_opts['macros']['%rhel'] = "7" +config_opts['macros']['%el7'] = "1" +config_opts['macros']['%redhat'] = "7" +config_opts['macros']['%vendor'] = "CentOS" +config_opts['macros']['%packager'] = "CentOS BuildSystem " +config_opts['macros']['%_vendor'] = "redhat" +config_opts['macros']['%_vendor_host'] = "redhat" +config_opts['macros']['%_host'] = "armv7hl-redhat-linux-gnu" + +# 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 + +[base] +name=centos 7 armhfp - base +baseurl=http://mirror.centos.org/altarch/7/os/armhfp/ +enabled=1 +gpgcheck=0 +cost=2000 + +[updates] +name=centos 7 armhfp - updates +baseurl=http://mirror.centos.org/altarch/7/updates/armhfp/ +enabled=1 +gpgcheck=0 +cost=2000 + + +""" +