Skip to content

Commit 10edef7

Browse files
scaronniConan-Kudo
authored andcommitted
Add openSUSE Leap 15.6, move openSUSE Leap 15.5 to eol
1 parent 5839ba6 commit 10edef7

10 files changed

+107
-0
lines changed

mock-core-configs/etc/mock/opensuse-leap-15.5-aarch64.cfg renamed to mock-core-configs/etc/mock/eol/opensuse-leap-15.5-aarch64.cfg

File renamed without changes.

mock-core-configs/etc/mock/opensuse-leap-15.5-ppc64le.cfg renamed to mock-core-configs/etc/mock/eol/opensuse-leap-15.5-ppc64le.cfg

File renamed without changes.

mock-core-configs/etc/mock/opensuse-leap-15.5-s390x.cfg renamed to mock-core-configs/etc/mock/eol/opensuse-leap-15.5-s390x.cfg

File renamed without changes.

mock-core-configs/etc/mock/opensuse-leap-15.5-x86_64.cfg renamed to mock-core-configs/etc/mock/eol/opensuse-leap-15.5-x86_64.cfg

File renamed without changes.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
include('templates/opensuse-leap-15.6.tpl')
2+
3+
config_opts['root'] = 'opensuse-leap-15.6-aarch64'
4+
config_opts['target_arch'] = 'aarch64'
5+
config_opts['legal_host_arches'] = ('aarch64',)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
include('templates/opensuse-leap-15.6.tpl')
2+
3+
config_opts['root'] = 'opensuse-leap-15.6-ppc64le'
4+
config_opts['target_arch'] = 'ppc64le'
5+
config_opts['legal_host_arches'] = ('ppc64le',)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
include('templates/opensuse-leap-15.6.tpl')
2+
3+
config_opts['root'] = 'opensuse-leap-15.6-s390x'
4+
config_opts['target_arch'] = 's390x'
5+
config_opts['legal_host_arches'] = ('s390x',)
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
include('templates/opensuse-leap-15.6.tpl')
2+
3+
config_opts['root'] = 'opensuse-leap-15.6-x86_64'
4+
config_opts['target_arch'] = 'x86_64'
5+
config_opts['legal_host_arches'] = ('x86_64',)
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
config_opts['chroot_setup_cmd'] = 'install patterns-devel-base-devel_rpm_build'
2+
config_opts['dist'] = 'suse.lp156' # only useful for --resultdir variable subst
3+
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
4+
config_opts['releasever'] = '15.6'
5+
config_opts['macros']['%dist'] = '.suse.lp156'
6+
config_opts['package_manager'] = 'dnf'
7+
config_opts['bootstrap_image'] = 'registry.opensuse.org/opensuse/leap-dnf:15.5'
8+
config_opts['ssl_ca_bundle_path'] = '/var/lib/ca-certificates/ca-bundle.pem'
9+
config_opts['description'] = 'openSUSE Leap {{ releasever }}'
10+
11+
# Due to the nature of the OpenSUSE mirroring system, we can not use
12+
# metalinks easily and also we can not rely on the fact that baseurl's
13+
# always work (issue #553) -- by design we need to expect a one minute
14+
# repository problems (configured four attempts means 3 periods of 20s).
15+
config_opts['package_manager_max_attempts'] = 4
16+
config_opts['package_manager_attempt_delay'] = 20
17+
18+
config_opts['dnf.conf'] = """
19+
[main]
20+
keepcache=1
21+
debuglevel=2
22+
reposdir=/dev/null
23+
logfile=/var/log/yum.log
24+
retries=20
25+
obsoletes=1
26+
gpgcheck=0
27+
assumeyes=1
28+
syslog_ident=mock
29+
syslog_device=
30+
install_weak_deps=0
31+
metadata_expire=0
32+
best=1
33+
{% if repo_arch == 'x86_64' %}
34+
excludepkgs=*.i586,*.i686,*.ppc,*.ppc64,*.ppc64le,*.s390x
35+
{% elif repo_arch == 'i586' %}
36+
excludepkgs=*.x86_64,*.ppc,*.ppc64,*.ppc64le,*.s390x
37+
{% elif repo_arch == 'ppc64le' %}
38+
excludepkgs=*.ppc,*.ppc64,*.x86_64,*.i586,*.i686,*.s390x
39+
{% elif repo_arch == 'ppc64' %}
40+
excludepkgs=*.ppc,*.ppc64le,*.x86_64,*.i586,*.i686,*.s390x
41+
{% elif repo_arch == 's390x' %}
42+
excludepkgs=*.ppc,*.ppc64,*.ppc64le,*.x86_64,*.i586,*.i686
43+
{% endif %}
44+
45+
protected_packages=
46+
user_agent={{ user_agent }}
47+
48+
# repos
49+
50+
[opensuse-leap-oss]
51+
name=openSUSE Leap $releasever - {{ repo_arch }} - OSS
52+
baseurl=https://download.opensuse.org/distribution/leap/$releasever/repo/oss/
53+
#metalink=https://download.opensuse.org/distribution/leap/$releasever/repo/oss/repodata/repomd.xml.metalink
54+
enabled=1
55+
gpgkey=file:///usr/share/distribution-gpg-keys/opensuse/RPM-GPG-KEY-openSUSE-2022
56+
file:///usr/share/distribution-gpg-keys/opensuse/RPM-GPG-KEY-openSUSE-Backports-2023
57+
file:///usr/share/distribution-gpg-keys/suse/RPM-GPG-KEY-SuSE-SLE-15
58+
file:///usr/share/distribution-gpg-keys/suse/RPM-GPG-KEY-SuSE-SLE-Main-2023
59+
gpgcheck=1
60+
61+
[opensuse-leap-oss-update]
62+
name=openSUSE Leap $releasever - {{ repo_arch }} - OSS - Updates
63+
baseurl=https://download.opensuse.org/update/leap/$releasever/oss/
64+
#metalink=https://download.opensuse.org/update/leap/$releasever/oss/repodata/repomd.xml.metalink
65+
enabled=1
66+
gpgkey=file:///usr/share/distribution-gpg-keys/opensuse/RPM-GPG-KEY-openSUSE-2022
67+
gpgcheck=1
68+
69+
[opensuse-leap-sle-update]
70+
name=openSUSE Leap $releasever - {{ repo_arch }} - Updates from SUSE Linux Enterprise
71+
baseurl=https://download.opensuse.org/update/leap/$releasever/sle/
72+
#metalink=https://download.opensuse.org/update/leap/$releasever/sle/repodata/repomd.xml.metalink
73+
enabled=1
74+
gpgkey=file:///usr/share/distribution-gpg-keys/suse/RPM-GPG-KEY-SuSE-SLE-Main-2023
75+
gpgcheck=1
76+
77+
[opensuse-leap-sle-backports-update]
78+
name=openSUSE Leap $releasever - {{ repo_arch }} - Updates from Backports for SUSE Linux Enterprise
79+
baseurl=https://download.opensuse.org/update/leap/$releasever/backports/
80+
#metalink=https://download.opensuse.org/update/leap/$releasever/backports/repodata/repomd.xml.metalink
81+
enabled=1
82+
gpgkey=file:///usr/share/distribution-gpg-keys/opensuse/RPM-GPG-KEY-openSUSE-Backports-2023
83+
gpgcheck=1
84+
85+
"""
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Add openSUSE Leap 15.6 configurations [issue#1516][]
2+
Move openSUSE Leap 15.5 configurations to eol (since 31st December 2024) [issue#1516][]

0 commit comments

Comments
 (0)