#6 Make an unsupported ELN mock configuration file available for download
Merged 3 years ago by bookwar. Opened 3 years ago by merlinm.
fedora-ci/ merlinm/eln-docs mock-config  into  master

@@ -0,0 +1,43 @@ 

+ config_opts['releasever'] = 'eln'

+ config_opts['target_arch'] = 'x86_64'

+ config_opts['legal_host_arches'] = ('x86_64',)

+ 

+ config_opts['root'] = 'eln-{{ target_arch }}'

+ 

+ config_opts['chroot_setup_cmd'] = 'groupinstall build'

+ 

+ config_opts['dist'] = 'eln'  # only useful for --resultdir variable subst

+ config_opts['extra_chroot_dirs'] = [ '/run/lock', ]

+ # config_opts['releasever'] = 'eln'

+ config_opts['package_manager'] = 'dnf'

+ 

+ config_opts['macros']['%dist'] = '%{!?distprefix0:%{?distprefix}}%{expand:%{lua:for i=0,9999 do print("%{?distprefix" .. i .."}") end}}.eln%{eln}%{?with_bootstrap:~bootstrap}'

+ config_opts['macros']['%eln'] = '100'

+ config_opts['macros']['%fedora'] = '%{nil}'

+ config_opts['macros']['%rhel'] = '9'

+ 

+ config_opts['yum.conf'] = """

+ [main]

+ 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=

+ install_weak_deps=0

+ metadata_expire=0

+ best=1

+ protected_packages=

+ 

+ # repos

+ 

+ [eln]

+ name=ELN

+ baseurl=https://kojipkgs.fedoraproject.org/repos/eln-build/latest/$basearch

+ enabled=1

+ skip_if_unavailable=False

+ """

@@ -46,4 +46,9 @@ 

  

  == Compiler flags and other tweaks

  

- There are no changes in compiler flags yet. 

\ No newline at end of file

+ There are no changes in compiler flags yet.

+ 

+ == Testing environment

+ 

+ An unsupported `mock` configuration file that can be used for testing builds and checking out the

+ ELN environment can be downloaded link:{attachmentsdir}/eln-x86_64.cfg[here].

no initial comment

Pull-Request has been merged by bookwar

3 years ago