From 2abfa3e9b00479932bc86340807a6eb516d5bf66 Mon Sep 17 00:00:00 2001 From: Johnny Hughes Date: Jul 09 2018 16:05:52 +0000 Subject: udpated c7-llvm-toolset-7 for all arches --- diff --git a/mock/c7-llvm-toolset-7.aarch.cfg b/mock/c7-llvm-toolset-7.aarch.cfg index 7149a31..10710b0 100644 --- a/mock/c7-llvm-toolset-7.aarch.cfg +++ b/mock/c7-llvm-toolset-7.aarch.cfg @@ -1,7 +1,7 @@ config_opts['root'] = 'TARGETNAME' config_opts['target_arch'] = 'aarch64' config_opts['legal_host_arches'] = ('aarch64',) -config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils centos-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 scl-utils scl-utils-build devtoolset-7 devtoolset-7 devtoolset-7-build llvm-toolset-7-build' +config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils centos-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 scl-utils scl-utils-build devtoolset-7-build llvm-toolset-7-build' config_opts['dist'] = 'el7' # only useful for --resultdir variable subst config_opts['%centos_ver'] = "7" diff --git a/mock/c7-llvm-toolset-7.armhfp.cfg b/mock/c7-llvm-toolset-7.armhfp.cfg index b013d66..6ccc022 100644 --- a/mock/c7-llvm-toolset-7.armhfp.cfg +++ b/mock/c7-llvm-toolset-7.armhfp.cfg @@ -1,7 +1,7 @@ config_opts['root'] = 'TARGETNAME' 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 scl-utils scl-utils-build devtoolset-7 devtoolset-7-build llvm-toolset-7-build' +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 scl-utils scl-utils-build devtoolset-7-build llvm-toolset-7-build' config_opts['dist'] = 'el7' # only useful for --resultdir variable subst config_opts['extra_chroot_dirs'] = [ '/run/lock', ] config_opts['macros']['%dist'] = ".el7" diff --git a/mock/c7-llvm-toolset-7.i386.cfg b/mock/c7-llvm-toolset-7.i386.cfg index c9d6c5b..ab2a136 100644 --- a/mock/c7-llvm-toolset-7.i386.cfg +++ b/mock/c7-llvm-toolset-7.i386.cfg @@ -1,7 +1,7 @@ config_opts['root'] = 'TARGETNAME' config_opts['target_arch'] = 'i686' config_opts['legal_host_arches'] = ('i386', 'i486', 'i586', 'i686', '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 scl-utils scl-utils-build devtoolset-7 devtoolset-7-build c7-llvm-toolset-7-build' +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 scl-utils scl-utils-build devtoolset-7-build c7-llvm-toolset-7-build' config_opts['dist'] = 'el7' # only useful for --resultdir variable subst config_opts['%centos_ver'] = "7" diff --git a/mock/c7-llvm-toolset-7.ppc.cfg b/mock/c7-llvm-toolset-7.ppc.cfg index e0f9145..db20cc6 100644 --- a/mock/c7-llvm-toolset-7.ppc.cfg +++ b/mock/c7-llvm-toolset-7.ppc.cfg @@ -1,7 +1,7 @@ config_opts['root'] = 'TARGETNAME' config_opts['target_arch'] = 'ppc' config_opts['legal_host_arches'] = ('ppc','ppc64') -config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils centos-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 scl-utils scl-utils-build devtoolset-7 devtoolset-7-build llvm-toolset-7-build' +config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils centos-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 scl-utils scl-utils-build devtoolset-7-build llvm-toolset-7-build' config_opts['dist'] = 'el7' # only useful for --resultdir variable subst config_opts['%centos_ver'] = "7" diff --git a/mock/c7-llvm-toolset-7.ppc64.cfg b/mock/c7-llvm-toolset-7.ppc64.cfg index b70e3fe..50d6464 100644 --- a/mock/c7-llvm-toolset-7.ppc64.cfg +++ b/mock/c7-llvm-toolset-7.ppc64.cfg @@ -1,7 +1,7 @@ config_opts['root'] = 'TARGETNAME' config_opts['target_arch'] = 'ppc64' config_opts['legal_host_arches'] = ('ppc64',) -config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils centos-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 scl-utils scl-utils-build devtoolset-7 devtoolset-7-build llvm-toolset-7-build' +config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils centos-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 scl-utils scl-utils-build devtoolset-7-build llvm-toolset-7-build' config_opts['dist'] = 'el7' # only useful for --resultdir variable subst config_opts['%centos_ver'] = "7" diff --git a/mock/c7-llvm-toolset-7.ppc64le.cfg b/mock/c7-llvm-toolset-7.ppc64le.cfg new file mode 100644 index 0000000..60e09bd --- /dev/null +++ b/mock/c7-llvm-toolset-7.ppc64le.cfg @@ -0,0 +1,67 @@ +config_opts['root'] = 'TARGETNAME' +config_opts['target_arch'] = 'ppc64le' +config_opts['legal_host_arches'] = ('ppc64le',) +config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils centos-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 scl-utils scl-utils-build devtoolset-7-build c7-llvm-toolset-build' +config_opts['dist'] = 'el7' # only useful for --resultdir variable subst + +config_opts['%centos_ver'] = "7" +config_opts['macros']['%centos_ver'] = "7" +config_opts['macros']['%rhel'] = "7" +config_opts['macros']['%centos'] = "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'] = "ppc64le-redhat-linux-gnu" + +config_opts['yum.conf'] = """ +[main] +cachedir=/var/cache/yum +debuglevel=1 +reposdir=/dev/null +logfile=/var/log/yum.log +retries=20 +obsoletes=1 +gpgcheck=0 +assumeyes=1 +syslog_ident=mock +syslog_device= + +# repos +[c7-extras.ppc64le] +name=c7-extras.ppc64le +baseurl=http://repohost/repo/c7-extras.ppc64le/ +gpgcheck=0 + +[c7.1708.u.ppc64le] +name=c7.1708.u.ppc64le +baseurl=http://repohost/repo/c7.1708.u.ppc64le/ +gpgcheck=0 + +[c7.1708.00.ppc64le] +name=c7.1708.00.ppc64le +baseurl=http://repohost/repo/c7.1708.00.ppc64le/ +gpgcheck=0 + +[c7.1804.u.ppc64le] +name=c7.1804.u.ppc64le +baseurl=http://repohost/repo/c7.1804.u.ppc64le/ +gpgcheck=0 + +[c7.1804.00.ppc64le] +name=c7.1804.00.ppc64le +baseurl=http://repohost/repo/c7.1804.00.ppc64le/ +gpgcheck=0 + +[c7-devtoolset-7.ppc64le] +name=c7-devtoolset-7 +baseurl=http://repohost/repo/c7-devtoolset-7.ppc64le/ +gpgcheck=0 + +[c7-llvm-toolset-7.ppc64le] +name=c7-llvm-toolset-7 +baseurl=http://repohost/repo/c7-llvm-toolset-7.ppc64le/ +gpgcheck=0 +""" diff --git a/mock/c7-llvm-toolset-7.x86_64.cfg b/mock/c7-llvm-toolset-7.x86_64.cfg index b8d0f47..80b5586 100644 --- a/mock/c7-llvm-toolset-7.x86_64.cfg +++ b/mock/c7-llvm-toolset-7.x86_64.cfg @@ -1,7 +1,7 @@ config_opts['root'] = 'TARGETNAME' config_opts['target_arch'] = 'x86_64' config_opts['legal_host_arches'] = ('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 scl-utils scl-utils-build devtoolset-7 devtoolset-7 devtoolset-7-build' +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 scl-utils scl-utils-build devtoolset-7-build c7-llvm-toolset-7-build' config_opts['dist'] = 'el7' # only useful for --resultdir variable subst config_opts['%centos_ver'] = "7"