Line 9: |
Line 9: |
| sudo dnf install glances | | sudo dnf install glances |
| sudo yum install make rpm-build rpm-sig | | sudo yum install make rpm-build rpm-sig |
| + | sudo dnf install git-lfs |
| + | |
| | | |
| | | |
Line 33: |
Line 35: |
| Here it is: | | Here it is: |
| | | |
− | TBA | + | config_opts['package_manager'] = 'yum' |
| + | config_opts['use_nspawn'] = False |
| + | |
| + | # see bugs <nowiki>https://bugzilla.redhat.com/show_bug.cgi?id=2076847</nowiki> and <nowiki>https://bugzilla.redhat.com/show_bug.cgi?id=2076847</nowiki> |
| + | config_opts['plugin_conf']["copy_enable"] = True |
| + | config_opts['plugin_conf']['copy_opts']= { |
| + | 'files': [ ("/etc/mock/perl.prov", "/usr/lib/rpm/redhat/perl.prov"), |
| + | ("/etc/mock/perl.prov", "/usr/lib/rpm/perl.prov"), |
| + | ], |
| + | } |
| + | |
| + | config_opts['root'] = 'smeserver-10-x86_64' |
| + | config_opts['target_arch'] = 'x86_64' |
| + | config_opts['dist'] = '.el7.sme' |
| + | config_opts['chroot_setup_cmd'] = ' install @buildsys-build @buildsys scl-utils-build python27-build ' |
| + | |
| + | config_opts['plugin_conf']['ccache_opts']['dir'] = "%(cache_topdir)s/ccache/x86_64/" |
| + | |
| + | config_opts['macros']['%distribution'] = "SME Server v10" |
| + | config_opts['macros']['%packager'] = "Koozali.org <<nowiki>http://www.koozali.org</nowiki>>" |
| + | config_opts['macros']['%vendor'] = "Koozali.org <<nowiki>http://www.koozali.org</nowiki>>" |
| + | config_opts['macros']['%dist'] = ".el7.sme" |
| + | |
| + | config_opts['yum.conf'] = """ |
| + | [main] |
| + | cachedir=/var/cache/yum |
| + | debuglevel=4 |
| + | logfile=/var/log/yum.log |
| + | reposdir=/dev/null |
| + | retries=20 |
| + | obsoletes=1 |
| + | gpgcheck=0 |
| + | assumeyes=1 |
| + | syslog_ident=mock |
| + | syslog_device= |
| + | |
| + | [os] |
| + | name=os |
| + | baseurl=<nowiki>http://buildsys.koozali.org/build/7/os/x86_64</nowiki> |
| + | exclude=buildsys-macros |
| + | |
| + | [updates] |
| + | name=updates |
| + | baseurl=<nowiki>http://buildsys.koozali.org/build/7/updates/x86_64</nowiki> |
| + | exclude=buildsys-macros |
| + | |
| + | [smeos] |
| + | name=os |
| + | baseurl=<nowiki>http://buildsys.koozali.org/build/10/smeos/x86_64</nowiki> |
| + | exclude=buildsys-macros |
| + | |
| + | [smeupdates] |
| + | name=os |
| + | baseurl=<nowiki>http://buildsys.koozali.org/build/10/smeupdates/x86_64</nowiki> |
| + | exclude=buildsys-macros |
| + | |
| + | [fastrack] |
| + | name=fastrack |
| + | baseurl=<nowiki>http://buildsys.koozali.org/build/7/fastrack/x86_64</nowiki> |
| + | |
| + | # centos cr |
| + | [opt1] |
| + | name=opt1 |
| + | baseurl=<nowiki>http://buildsys.koozali.org/build/7/opt1/x86_64</nowiki> |
| + | |
| + | # centos extra |
| + | [opt2] |
| + | name=opt2 |
| + | baseurl=<nowiki>http://buildsys.koozali.org/build/7/opt2/x86_64</nowiki> |
| + | |
| + | # Not used |
| + | [opt3] |
| + | name=opt3 |
| + | baseurl=<nowiki>http://buildsys.koozali.org/build/7/opt3/x86_64</nowiki> |
| + | |
| + | [epel] |
| + | name=epel |
| + | baseurl=<nowiki>http://download.fedoraproject.org/pub/epel/7/x86_64</nowiki> |
| + | #baseurl=<nowiki>http://buildsys.koozali.org/build/7/epel/x86_64</nowiki> |
| + | includepkgs=ccache mhash* perl-Taint-Util libdb4 libdb4-devel php-channel-horde php-horde-* perl-Class-Method-Modifiers perl-Class-XSAccessor perl-Devel-GlobalDestruction perl-Sub-Name perl-indirect perl-B-Hooks-OP-Check perl-ExtUtils-Depends perl-Lexical-SealRequireHints perl-Params-Classify perl-Dist-CheckConflicts perl-Math-Int64 perl-Sort-Naturally perl-Sub-Exporter* perl-Bytes-Random-Secure perl-Crypt-Random-TESHA2 perl-Crypt-Random-Seed perl-Math-Random-ISAAC kmodtool libmaxminddb-devel libmaxminddb perl-Module-Build-Tiny perl-Mojolicious perl-Net-CIDR-Lite mod_perl mod_perl-devel perl-Apache-Test pyzor perl-Linux-Pid perl-BSD-Resource perl-dev perl-Data-Dumper perl-Razor-Agent perl-generators* perl-Net-Patricia meson libidn2* ninja-build python36-Cython epel-rpm-macros lua-srpm-macros libnetfilter_log* courier-unicode* perl-Path-Class perl-String-Random perl-Test-Class perl-Test-Mojo perl-MRO-Compat perl-Class-Accessor libebml* libmatroska* pugixml* spdlog* multilib-rpm-config cmake3* libuv libzstd rhash google-benchmark* libnet10-* perl-Crypt-GPG gnupg1 perl-Lingua-Stem-Snowball* perl-Lingua-StopWords perl-rpm-build-perl* fmt* perl-Class-Virtual perl-Carp-Assert pyPdf python2-apipkg python2-bottle python2-dateutil python2-docutils python-gevent python2-simplejson python-sqlite3dbm python2-future python2-attrs python2-packaging python2-certifi perl-Email-MIME perl-Email-Simple perl-Net-IP perl-Net-SMTPS perl-Throwable perl-Sub-Override perl-Moose perl-Email-Abstract perl-Eval-Closure perl-Email-Date-Format perl-Devel-PartialDump perl-namespace-clean perl-B-Hooks-EndOfScope perl-Variable-Magic latexmk python3-sphinx* python36-sphinx* python36-pygments python36-jinja2 python36-docutils python36-markupsafe clamav* perl-TAP-Harness-Env rust ghc-* rust-* llvm13-libs pandoc golang* perl-Net-LibIDN* perl-Net-Patricia re2c perl-Data-Validate-IP perl-Clone-PP perl-ExtUtils-Manifest* |
| + | |
| + | [openfusion] |
| + | name=openfusion |
| + | baseurl=<nowiki>http://repo.openfusion.net/centos7-x86_64</nowiki> |
| + | includepkgs=perl-Lingua* perl-Snowball* perl-Text-German perl-MooX* perl-Scalar-List-Utils perl-Throwable perl-Moose perl-Try-Tiny perl-Devel-StackTrace perl-Devel-OverloadInfo perl-Sub-Name perl-Module-Runtime-Conflicts perl-Test-File-ShareDir perl-Test-Exception perl-Test-Output perl-Net-IDN-Encode perl-Path-Tiny perl-Class-Tiny perl-Unicode-UTF8 perl-Net-Server perl-Email-Address-XS perl-MaxMind-* perl-Geo-IP perl-IP-Country-DB_File perl-IP-Country perl-Math-Int128 perl-Data-IEEE754 perl-namespace-autoclean perl-Net-Works perl-List-AllUtils perl-Data-Printer perl-IP-Country perl-Sub-Identify perl-Test-Warnings perl-Hash-FieldHash perl-Data-Dumper-Concise perl-Encode-Detect |
| + | |
| + | [rpmfusion] |
| + | name=rpmfusion |
| + | baseurl=<nowiki>http://download1.rpmfusion.org/free/el/updates/7/x86_64</nowiki> |
| + | #mirrorlist=<nowiki>http://mirrors.rpmfusion.org/mirrorlist?repo=free-el-updates-released-7&arch=$basearch</nowiki> |
| + | #baseurl=<nowiki>http://ucmirror.canterbury.ac.nz/linux/rpmfusion/free/el/updates/7/x86_64/</nowiki> |
| + | includepkgs=ffmpeg* libva* x264-libs xvidcore librtmp buildsys-build-rpmfusion-kerneldevpkgs-current-* buildsys-build-rpmfusion-* libmpeg2* mpeg2dec |
| + | |
| + | [sclo-sclo] |
| + | name=sclo-sclo |
| + | baseurl=<nowiki>http://mirror.centos.org/centos/7/sclo/x86_64/sclo</nowiki> |
| + | includepkgs=python27* |
| + | |
| + | [sclo-rh] |
| + | name=sclo-rh |
| + | baseurl=<nowiki>http://mirror.centos.org/centos/7/sclo/x86_64/rh</nowiki> |
| + | includepkgs=python27* python33* rh-mongodb26* rh-mongodb32* rh-mongodb34* nodejs010* rh-nodejs6* devtoolset-* devtoolset-9* |
| + | |
| + | [buildsys-core] |
| + | name=buildsys-core |
| + | baseurl=<nowiki>http://buildsys.koozali.org/build/10/smeserver-core/x86_64</nowiki> |
| + | includepkgs=bglibs bglibs-devel buildsys-macros cvm* dietlibc* e-smith-devtools perl-Test-Inline perl-IO-Socket-IP perl-Geography-Countries perl-Object-Persistence perl-bareword-filehandles perl-multidimensional perl-strictures perl-Module-Runtime perl-Role-Tiny perl-Sub-Quote perl-Bytes-Random-Secure perl-Net-Ident perl-generators DCC python3-lxml libnetfilter_acct* qmail perl-Net-IMAP-Simple perl-Regexp-Common perl-Email-Sender perl-Moo perl-Mail-DMARC clamav* |
| + | |
| + | [buildsys-contribs] |
| + | name=buildsys-contribs |
| + | baseurl=<nowiki>http://buildsys.koozali.org/build/10/smeserver-contribs/x86_64</nowiki> |
| + | includepkgs=libevent2* perl-Ezmlm perl-IPC-Run libevhtp* libsearpc* ccnet* libccnet* libzdb* libccnet* evhtp* sqlite* ocaml camlp5 python27-python-versiontools libarchive* libupnp-* duktape-* fmt-* spdlog-* ezmlm* c-icap* |
| + | |
| + | [groups] |
| + | name=groups |
| + | baseurl=<nowiki>http://buildsys.koozali.org/build/10/smeserver-groups/x86_64</nowiki> |
| + | """ |
| + | |
| | | |
| Then: | | Then: |
Line 79: |
Line 198: |
| | | |
| Need also to copy over from current build system ~/.plague-client.cfg .rpmmacros .cvspass (although this one is empty?) | | Need also to copy over from current build system ~/.plague-client.cfg .rpmmacros .cvspass (although this one is empty?) |
− |
| |
− | AND smeserver-10-x86_64-base.cfg from (and to) /etc/mock as the one downloaded above seems to be not complete for sme10.
| |
| | | |
| make mockbuild runs ok. | | make mockbuild runs ok. |