mock/mock_config.default

42 lines
1.3 KiB
Plaintext
Raw Permalink Normal View History

2020-05-15 14:26:28 +08:00
config_opts['chroot_setup_cmd'] = 'install openEuler-rpm-config openEuler-release shadow rpm-build dnf-plugins-core gcc make'
config_opts['package_manager'] = 'dnf'
config_opts['more_buildreqs'] = 'gdb-headless'
config_opts['plugin_conf']['root_cache_enable'] = False
config_opts['plugin_conf']['selinux_enable'] = False
config_opts['plugin_conf']['procenv_enable'] = True
config_opts['nosync'] = True
config_opts['root'] = 'openEuler-LTS-{{ target_arch }}-1'
config_opts['target_arch'] = '{{ target_arch }}'
config_opts['use_bootstrap_container'] = False
config_opts['dnf_disable_plugins'] = ['local', 'spacewalk']
config_opts['use_nspawn'] = False
2024-11-06 10:06:58 +08:00
config_opts['useradd'] = '/usr/sbin/useradd -o -m -u {{chrootuid}} -g {{chrootgid}} -d {{chroothome}} -N {{chrootuser}}'
2020-05-15 14:26:28 +08:00
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
[openEuler]
name=Euler
baseurl=http://9.82.1.253/productrepo/openEuler1.0/EULEROS_BASIC/ARM64/openEuler1.0/2020-03-20-06-30-06
enabled=1
gpgcheck=0
gpgkey=http://9.82.1.253/productrepo/openEuler1.0/EULEROS_BASIC/ARM64/openEuler1.0/2020-03-20-06-30-06/RPM-GPG-KEY-openEuler
2024-11-06 10:06:58 +08:00
"""