From 60e4b943a377760486e8ade823752ed6c7298fc6 Mon Sep 17 00:00:00 2001 From: Julio Gonzalez Gil Date: Mon, 18 Nov 2024 17:26:16 +0100 Subject: [PATCH] openSUSE Leap 16.0 (Alpha) Co-authored-by: Marina Latini --- .../com/redhat/rhn/domain/server/Server.java | 3 ++ ...cewalk-java.changes.juliogonzalez.leap16.0 | 1 + susemanager/src/mgr_bootstrap_data.py | 20 ++++++++++++ ...susemanager.changes.juliogonzalez.leap16.0 | 1 + utils/spacewalk-common-channels.ini | 32 +++++++++++++++++++ ...ewalk-utils.changes.juliogonzalez.leap16.0 | 1 + 6 files changed, 58 insertions(+) create mode 100644 java/spacewalk-java.changes.juliogonzalez.leap16.0 create mode 100644 susemanager/susemanager.changes.juliogonzalez.leap16.0 create mode 100644 utils/spacewalk-utils.changes.juliogonzalez.leap16.0 diff --git a/java/code/src/com/redhat/rhn/domain/server/Server.java b/java/code/src/com/redhat/rhn/domain/server/Server.java index d8bcb0e0dd4d..31373309dcd3 100644 --- a/java/code/src/com/redhat/rhn/domain/server/Server.java +++ b/java/code/src/com/redhat/rhn/domain/server/Server.java @@ -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 diff --git a/java/spacewalk-java.changes.juliogonzalez.leap16.0 b/java/spacewalk-java.changes.juliogonzalez.leap16.0 new file mode 100644 index 000000000000..7820b1a447c2 --- /dev/null +++ b/java/spacewalk-java.changes.juliogonzalez.leap16.0 @@ -0,0 +1 @@ +- Add product identification for openSUSE Leap 16.0 (Alpha) diff --git a/susemanager/src/mgr_bootstrap_data.py b/susemanager/src/mgr_bootstrap_data.py index f8c6fe167b1c..6aef6cd28cfe 100644 --- a/susemanager/src/mgr_bootstrap_data.py +++ b/susemanager/src/mgr_bootstrap_data.py @@ -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, diff --git a/susemanager/susemanager.changes.juliogonzalez.leap16.0 b/susemanager/susemanager.changes.juliogonzalez.leap16.0 new file mode 100644 index 000000000000..762c66af936b --- /dev/null +++ b/susemanager/susemanager.changes.juliogonzalez.leap16.0 @@ -0,0 +1 @@ +- Add openSUSE Leap 16.0 (Alpha) bootstrap repositories diff --git a/utils/spacewalk-common-channels.ini b/utils/spacewalk-common-channels.ini index 5abba420743f..b712aec59c8b 100644 --- a/utils/spacewalk-common-channels.ini +++ b/utils/spacewalk-common-channels.ini @@ -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 = http://download.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://download.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://download.opensuse.org/repositories/systemsmanagement:/Uyuni:/Master:/SLMicro6-Uyuni-Client-Tools/SL-Micro6/ + [opensuse_micro5_3] checksum = sha256 archs = x86_64, aarch64 diff --git a/utils/spacewalk-utils.changes.juliogonzalez.leap16.0 b/utils/spacewalk-utils.changes.juliogonzalez.leap16.0 new file mode 100644 index 000000000000..00c529876b2b --- /dev/null +++ b/utils/spacewalk-utils.changes.juliogonzalez.leap16.0 @@ -0,0 +1 @@ +- Add openSUSE Leap 16.0 (Alpha) repositories