Skip to content

Commit

Permalink
openSUSE Leap 16.0 (Alpha)
Browse files Browse the repository at this point in the history
Co-authored-by: Marina Latini <marina.latini@suse.com>
  • Loading branch information
juliogonzalez and deneb-alpha committed Nov 20, 2024
1 parent 89592fc commit 8629c94
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 0 deletions.
3 changes: 3 additions & 0 deletions java/code/src/com/redhat/rhn/domain/server/Server.java
Original file line number Diff line number Diff line change
Expand Up @@ -2507,6 +2507,9 @@ boolean isLeap() {
boolean isLeap15() {
return ServerConstants.LEAP.equalsIgnoreCase(getOs()) && getRelease().startsWith("15");
}
boolean isLeap16() {
return ServerConstants.LEAP.equalsIgnoreCase(getOs()) && getRelease().startsWith("16");
}

/**
* @return true if the installer type is of openSUSE Leap Micro
Expand Down
1 change: 1 addition & 0 deletions java/spacewalk-java.changes.juliogonzalez.leap16.0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Add product identification for openSUSE Leap 16.0 (Alpha)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Add GPG key for SLFO packages
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
insert into rhnPackageKey (id, key_id, key_type_id, provider_id) (select sequence_nextval('rhn_pkey_id_seq'), 'fec28eaf09d9ea69', lookup_package_key_type('gpg'), lookup_package_provider('SUSE LLC') from dual where not exists (select 1 from rhnPackageKey where key_id = 'fec28eaf09d9ea69'));
20 changes: 20 additions & 0 deletions susemanager/src/mgr_bootstrap_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -1512,6 +1512,26 @@
"PKGLIST": PKGLIST15_SALT + PKGLIST15_X86_ARM,
"DEST": DOCUMENT_ROOT + "/pub/repositories/opensuse/15/6/bootstrap/",
},
"openSUSE-Leap-16.0-x86_64-uyuni": {
"BASECHANNEL": "opensuse_leap16_0-x86_64",
"PKGLIST": PKGLISTMICRO_BUNDLE_ONLY,
"DEST": DOCUMENT_ROOT + "/pub/repositories/opensuse/16/0/bootstrap/",
},
"openSUSE-Leap-16.0-aarch64-uyuni": {
"BASECHANNEL": "opensuse_leap16_0-aarch64",
"PKGLIST": PKGLISTMICRO_BUNDLE_ONLY,
"DEST": DOCUMENT_ROOT + "/pub/repositories/opensuse/16/0/bootstrap/",
},
"openSUSE-Leap-16.0-s390x-uyuni": {
"BASECHANNEL": "opensuse_leap16_0-s390x",
"PKGLIST": PKGLISTMICRO_BUNDLE_ONLY,
"DEST": DOCUMENT_ROOT + "/pub/repositories/opensuse/16/0/bootstrap/",
},
"openSUSE-Leap-16.0-ppc64le-uyuni": {
"BASECHANNEL": "opensuse_leap16_0-ppc64le",
"PKGLIST": PKGLISTMICRO_BUNDLE_ONLY,
"DEST": DOCUMENT_ROOT + "/pub/repositories/opensuse/16/0/bootstrap/",
},
"openSUSE-Leap-Micro-5.3-x86_64-uyuni": {
"BASECHANNEL": "opensuse_micro5_3-x86_64",
"PKGLIST": PKGLISTMICRO_BUNDLE_ONLY,
Expand Down
1 change: 1 addition & 0 deletions susemanager/susemanager.changes.juliogonzalez.leap16.0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Add openSUSE Leap 16.0 (Alpha) bootstrap repositories
32 changes: 32 additions & 0 deletions utils/spacewalk-common-channels.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1328,6 +1328,38 @@ gpgkey_id = %(_uyuni_gpgkey_id)s
gpgkey_fingerprint = %(_uyuni_gpgkey_fingerprint)s
repo_url = https://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Master:/openSUSE_Leap_15-Uyuni-Client-Tools/openSUSE_Leap_15.0/

[opensuse_leap16_0]
checksum = sha256
archs = x86_64, aarch64, s390x, ppc6le
name = openSUSE Leap 16.0 (%(arch)s)
gpgkey_url = file:///usr/lib/rpm/gnupg/keys/gpg-pubkey-29b700a4-62b07e22.asc
gpgkey_id = 29B700A4
gpgkey_fingerprint = AD48 5664 E901 B867 051A B15F 35A2 F86E 29B7 00A4
repo_url = https://cdn.opensuse.org/distribution/leap/16.0/repo/oss/
dist_map_release = 16.0

# This is expected. openSUSE Leap 16.0 client tools are valid for all openSUSE Leap 16.X releases
[opensuse_leap16_0-uyuni-client]
name = Uyuni Client Tools for %(base_channel_name)s
archs = x86_64, aarch64, s390x, ppc6le
base_channels = opensuse_leap16_0-%(arch)s
checksum = sha256
gpgkey_url = %(_uyuni_gpgkey_url)s
gpgkey_id = %(_uyuni_gpgkey_id)s
gpgkey_fingerprint = %(_uyuni_gpgkey_fingerprint)s
repo_url = https://cdn.opensuse.org/repositories/systemsmanagement:/Uyuni:/Stable:/SLMicro6-Uyuni-Client-Tools/SL-Micro6/

# This is expected. openSUSE Leap 16.0 client tools are valid for all openSUSE Leap 16.X releases
[opensuse_leap16_0-uyuni-client-devel]
name = Uyuni Client Tools for %(base_channel_name)s (Development)
archs = x86_64, aarch64, s390x, ppc6le
base_channels = opensuse_leap16_0-%(arch)s
checksum = sha256
gpgkey_url = %(_uyuni_gpgkey_url)s
gpgkey_id = %(_uyuni_gpgkey_id)s
gpgkey_fingerprint = %(_uyuni_gpgkey_fingerprint)s
repo_url = https://cdn.opensuse.org/repositories/systemsmanagement:/Uyuni:/Master:/SLMicro6-Uyuni-Client-Tools/SL-Micro6/

[opensuse_micro5_3]
checksum = sha256
archs = x86_64, aarch64
Expand Down
1 change: 1 addition & 0 deletions utils/spacewalk-utils.changes.juliogonzalez.leap16.0
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Add openSUSE Leap 16.0 (Alpha) repositories

0 comments on commit 8629c94

Please sign in to comment.