saving uncommitted changes in /etc prior to dnf run
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
include('templates/opensuse-leap-15.3.tpl')
|
||||
include('eol/templates/opensuse-leap-15.3.tpl')
|
||||
|
||||
config_opts['root'] = 'opensuse-leap-15.3-aarch64'
|
||||
config_opts['target_arch'] = 'aarch64'
|
||||
@@ -1,4 +1,4 @@
|
||||
include('templates/opensuse-leap-15.3.tpl')
|
||||
include('eol/templates/opensuse-leap-15.3.tpl')
|
||||
|
||||
config_opts['root'] = 'opensuse-leap-15.3-ppc64le'
|
||||
config_opts['target_arch'] = 'ppc64le'
|
||||
@@ -1,4 +1,4 @@
|
||||
include('templates/opensuse-leap-15.3.tpl')
|
||||
include('eol/templates/opensuse-leap-15.3.tpl')
|
||||
|
||||
config_opts['root'] = 'opensuse-leap-15.3-s390x'
|
||||
config_opts['target_arch'] = 's390x'
|
||||
@@ -1,4 +1,4 @@
|
||||
include('templates/opensuse-leap-15.3.tpl')
|
||||
include('eol/templates/opensuse-leap-15.3.tpl')
|
||||
|
||||
config_opts['root'] = 'opensuse-leap-15.3-x86_64'
|
||||
config_opts['target_arch'] = 'x86_64'
|
||||
1
mock/mageia-10-aarch64.cfg
Symbolic link
1
mock/mageia-10-aarch64.cfg
Symbolic link
@@ -0,0 +1 @@
|
||||
mageia-cauldron-aarch64.cfg
|
||||
1
mock/mageia-10-armv7hl.cfg
Symbolic link
1
mock/mageia-10-armv7hl.cfg
Symbolic link
@@ -0,0 +1 @@
|
||||
mageia-cauldron-armv7hl.cfg
|
||||
1
mock/mageia-10-i586.cfg
Symbolic link
1
mock/mageia-10-i586.cfg
Symbolic link
@@ -0,0 +1 @@
|
||||
mageia-cauldron-i586.cfg
|
||||
1
mock/mageia-10-x86_64.cfg
Symbolic link
1
mock/mageia-10-x86_64.cfg
Symbolic link
@@ -0,0 +1 @@
|
||||
mageia-cauldron-x86_64.cfg
|
||||
@@ -1 +0,0 @@
|
||||
mageia-cauldron-aarch64.cfg
|
||||
5
mock/mageia-9-aarch64.cfg
Normal file
5
mock/mageia-9-aarch64.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
config_opts['releasever'] = '9'
|
||||
config_opts['target_arch'] = 'aarch64'
|
||||
config_opts['legal_host_arches'] = ('aarch64',)
|
||||
|
||||
include('templates/mageia-branched.tpl')
|
||||
@@ -1 +0,0 @@
|
||||
mageia-cauldron-armv7hl.cfg
|
||||
5
mock/mageia-9-armv7hl.cfg
Normal file
5
mock/mageia-9-armv7hl.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
config_opts['releasever'] = '9'
|
||||
config_opts['target_arch'] = 'armv7hl'
|
||||
config_opts['legal_host_arches'] = ('armv7l', 'armv7hl', 'armv8l', 'armv8hl', 'aarch64')
|
||||
|
||||
include('templates/mageia-branched.tpl')
|
||||
@@ -1 +0,0 @@
|
||||
mageia-cauldron-i586.cfg
|
||||
5
mock/mageia-9-i586.cfg
Normal file
5
mock/mageia-9-i586.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
config_opts['releasever'] = '9'
|
||||
config_opts['target_arch'] = 'i586'
|
||||
config_opts['legal_host_arches'] = ('i386', 'i586', 'i686', 'x86_64')
|
||||
|
||||
include('templates/mageia-branched.tpl')
|
||||
@@ -1 +0,0 @@
|
||||
mageia-cauldron-x86_64.cfg
|
||||
5
mock/mageia-9-x86_64.cfg
Normal file
5
mock/mageia-9-x86_64.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
config_opts['releasever'] = '9'
|
||||
config_opts['target_arch'] = 'x86_64'
|
||||
config_opts['legal_host_arches'] = ('x86_64',)
|
||||
|
||||
include('templates/mageia-branched.tpl')
|
||||
5
mock/opensuse-leap-15.5-aarch64.cfg
Normal file
5
mock/opensuse-leap-15.5-aarch64.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
include('templates/opensuse-leap-15.5.tpl')
|
||||
|
||||
config_opts['root'] = 'opensuse-leap-15.5-aarch64'
|
||||
config_opts['target_arch'] = 'aarch64'
|
||||
config_opts['legal_host_arches'] = ('aarch64',)
|
||||
5
mock/opensuse-leap-15.5-ppc64le.cfg
Normal file
5
mock/opensuse-leap-15.5-ppc64le.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
include('templates/opensuse-leap-15.5.tpl')
|
||||
|
||||
config_opts['root'] = 'opensuse-leap-15.5-ppc64le'
|
||||
config_opts['target_arch'] = 'ppc64le'
|
||||
config_opts['legal_host_arches'] = ('ppc64le',)
|
||||
5
mock/opensuse-leap-15.5-s390x.cfg
Normal file
5
mock/opensuse-leap-15.5-s390x.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
include('templates/opensuse-leap-15.5.tpl')
|
||||
|
||||
config_opts['root'] = 'opensuse-leap-15.5-s390x'
|
||||
config_opts['target_arch'] = 's390x'
|
||||
config_opts['legal_host_arches'] = ('s390x',)
|
||||
5
mock/opensuse-leap-15.5-x86_64.cfg
Normal file
5
mock/opensuse-leap-15.5-x86_64.cfg
Normal file
@@ -0,0 +1,5 @@
|
||||
include('templates/opensuse-leap-15.5.tpl')
|
||||
|
||||
config_opts['root'] = 'opensuse-leap-15.5-x86_64'
|
||||
config_opts['target_arch'] = 'x86_64'
|
||||
config_opts['legal_host_arches'] = ('x86_64',)
|
||||
@@ -13,7 +13,10 @@ config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils f
|
||||
config_opts['dist'] = 'eln' # only useful for --resultdir variable subst
|
||||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['bootstrap_image'] = 'fedora:latest'
|
||||
|
||||
# Per https://github.com/fedora-eln/eln/issues/164 updated up to 4 times a day.
|
||||
# Docs: https://docs.fedoraproject.org/en-US/eln/deliverables/#_container_image
|
||||
config_opts['bootstrap_image'] = 'quay.io/fedoraci/fedora:eln'
|
||||
|
||||
config_opts['dnf.conf'] = """
|
||||
[main]
|
||||
|
||||
@@ -2,7 +2,7 @@ config_opts['root'] = 'mageia-cauldron-{{ target_arch }}'
|
||||
config_opts['chroot_setup_cmd'] = 'install basesystem-minimal-core rpm-build rpm-mageia-setup rpm-mageia-setup-build'
|
||||
config_opts['dist'] = 'cauldron' # only useful for --resultdir variable subst
|
||||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
config_opts['releasever'] = '9'
|
||||
config_opts['releasever'] = '10'
|
||||
config_opts['macros']['%distro_section'] = 'core'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['bootstrap_image'] = 'docker.io/library/mageia:cauldron'
|
||||
|
||||
85
mock/templates/opensuse-leap-15.5.tpl
Normal file
85
mock/templates/opensuse-leap-15.5.tpl
Normal file
@@ -0,0 +1,85 @@
|
||||
config_opts['chroot_setup_cmd'] = 'install patterns-devel-base-devel_rpm_build'
|
||||
config_opts['dist'] = 'suse.lp155' # only useful for --resultdir variable subst
|
||||
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
|
||||
config_opts['releasever'] = '15.5'
|
||||
config_opts['macros']['%dist'] = '.suse.lp155'
|
||||
config_opts['package_manager'] = 'dnf'
|
||||
config_opts['bootstrap_image'] = 'registry.opensuse.org/opensuse/leap-dnf:15.5'
|
||||
config_opts['ssl_ca_bundle_path'] = '/var/lib/ca-certificates/ca-bundle.pem'
|
||||
config_opts['description'] = 'openSUSE Leap {{ releasever }}'
|
||||
|
||||
# Due to the nature of the OpenSUSE mirroring system, we can not use
|
||||
# metalinks easily and also we can not rely on the fact that baseurl's
|
||||
# always work (issue #553) -- by design we need to expect a one minute
|
||||
# repository problems (configured four attempts means 3 periods of 20s).
|
||||
config_opts['package_manager_max_attempts'] = 4
|
||||
config_opts['package_manager_attempt_delay'] = 20
|
||||
|
||||
config_opts['dnf.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
|
||||
{% if target_arch == 'x86_64' %}
|
||||
excludepkgs=*.i586,*.i686,*.ppc,*.ppc64,*.ppc64le,*.s390x
|
||||
{% elif target_arch == 'i586' %}
|
||||
excludepkgs=*.x86_64,*.ppc,*.ppc64,*.ppc64le,*.s390x
|
||||
{% elif target_arch == 'ppc64le' %}
|
||||
excludepkgs=*.ppc,*.ppc64,*.x86_64,*.i586,*.i686,*.s390x
|
||||
{% elif target_arch == 'ppc64' %}
|
||||
excludepkgs=*.ppc,*.ppc64le,*.x86_64,*.i586,*.i686,*.s390x
|
||||
{% elif target_arch == 's390x' %}
|
||||
excludepkgs=*.ppc,*.ppc64,*.ppc64le,*.x86_64,*.i586,*.i686
|
||||
{% endif %}
|
||||
|
||||
protected_packages=
|
||||
user_agent={{ user_agent }}
|
||||
|
||||
# repos
|
||||
|
||||
[opensuse-leap-oss]
|
||||
name=openSUSE Leap $releasever - {{ target_arch }} - OSS
|
||||
baseurl=https://download.opensuse.org/distribution/leap/$releasever/repo/oss/
|
||||
#metalink=https://download.opensuse.org/distribution/leap/$releasever/repo/oss/repodata/repomd.xml.metalink
|
||||
enabled=1
|
||||
gpgkey=file:///usr/share/distribution-gpg-keys/opensuse/RPM-GPG-KEY-openSUSE-2022
|
||||
file:///usr/share/distribution-gpg-keys/opensuse/RPM-GPG-KEY-openSUSE-Backports-2023
|
||||
file:///usr/share/distribution-gpg-keys/suse/RPM-GPG-KEY-SuSE-SLE-15
|
||||
file:///usr/share/distribution-gpg-keys/suse/RPM-GPG-KEY-SuSE-SLE-Main-2023
|
||||
gpgcheck=1
|
||||
|
||||
[opensuse-leap-oss-update]
|
||||
name=openSUSE Leap $releasever - {{ target_arch }} - OSS - Updates
|
||||
baseurl=https://download.opensuse.org/update/leap/$releasever/oss/
|
||||
#metalink=https://download.opensuse.org/update/leap/$releasever/oss/repodata/repomd.xml.metalink
|
||||
enabled=1
|
||||
gpgkey=file:///usr/share/distribution-gpg-keys/opensuse/RPM-GPG-KEY-openSUSE-2022
|
||||
gpgcheck=1
|
||||
|
||||
[opensuse-leap-sle-update]
|
||||
name=openSUSE Leap $releasever - {{ target_arch }} - Updates from SUSE Linux Enterprise
|
||||
baseurl=https://download.opensuse.org/update/leap/$releasever/sle/
|
||||
#metalink=https://download.opensuse.org/update/leap/$releasever/sle/repodata/repomd.xml.metalink
|
||||
enabled=1
|
||||
gpgkey=file:///usr/share/distribution-gpg-keys/suse/RPM-GPG-KEY-SuSE-SLE-Main-2023
|
||||
gpgcheck=1
|
||||
|
||||
[opensuse-leap-sle-backports-update]
|
||||
name=openSUSE Leap $releasever - {{ target_arch }} - Updates from Backports for SUSE Linux Enterprise
|
||||
baseurl=https://download.opensuse.org/update/leap/$releasever/backports/
|
||||
#metalink=https://download.opensuse.org/update/leap/$releasever/backports/repodata/repomd.xml.metalink
|
||||
enabled=1
|
||||
gpgkey=file:///usr/share/distribution-gpg-keys/opensuse/RPM-GPG-KEY-openSUSE-Backports-2023
|
||||
gpgcheck=1
|
||||
|
||||
"""
|
||||
Reference in New Issue
Block a user