diff options
author | Remi Collet <remi@remirepo.net> | 2024-11-18 16:56:41 +0100 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-11-18 16:56:41 +0100 |
commit | 389cc09347871f978fc21bef668198964632389e (patch) | |
tree | 3bd72645ae0a724db1269a4e59cbe37091281b10 | |
parent | c00ea02384633a5213330e5b2321b9b0d0c27dc8 (diff) |
Wizard: add EL-10
-rwxr-xr-x | mashrepo | 2 | ||||
-rw-r--r-- | wizard/index.php | 37 |
2 files changed, 18 insertions, 21 deletions
@@ -101,6 +101,8 @@ mashgd #mash54 enterprise/7 x86_64 x86_64 #mash54 enterprise/6 i386 i686 #mash54 enterprise/6 x86_64 x86_64 +mashit mashinfo.el10 enterprise/10 x86_64 +mashit mashinfo.el10 enterprise/10 aarch64 mashit mashinfo.el9 enterprise/9 x86_64 mashit mashinfo.el9 enterprise/9 aarch64 mashit mashinfo.el8 enterprise/8 x86_64 diff --git a/wizard/index.php b/wizard/index.php index 59fa1776..46918d8c 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -17,74 +17,64 @@ define('EPEL_DEV', 2); // 0 missing, 1 partially populated, 2 mostly full define('COUNTER', __DIR__ . "/counter.txt"); $osvers = [ + 'RHEL 10' => ['8.3'], 'RHEL 9' => ['8.0', '8.1', '8.2'], 'RHEL 8' => ['7.4', '8.0', '8.2'], -// 'RHEL 7' => '5.4', + 'CentOS 10' => ['8.3'], 'CentOS 9' => ['8.0', '8.1', '8.2'], -// 'CentOS 8' => ['7.4', '8.0', '8.2'], -// 'CentOS 7' => '5.4', 'EL 9' => ['8.0', '8.1', '8.2'], 'EL 8' => ['7.4', '8.0', '8.2'], -// 'EL 7' => '5.4', 'Fedora 41' => '8.3', 'Fedora 40' => '8.3', 'Fedora 39' => '8.2', ]; $osmin = [ + 'RHEL 10' => '7.4', 'RHEL 9' => '7.4', 'RHEL 8' => '5.6', -// 'RHEL 7' => '5.4', + 'CentOS 10' => '7.4', 'CentOS 9' => '7.4', -// 'CentOS 8' => '5.6', -// 'CentOS 7' => '5.4', 'EL 9' => '7.4', 'EL 8' => '5.6', -// 'EL 7' => '5.4', 'Fedora 41' => '7.4', 'Fedora 40' => '7.4', 'Fedora 39' => '7.4', ]; $osminbase = [ + 'RHEL 10' => '7.4', 'RHEL 9' => '7.4', 'RHEL 8' => '7.2', -// 'RHEL 7' => '5.4', + 'CentOS 10' => '7.4', 'CentOS 9' => '7.4', -// 'CentOS 8' => '7.2', -// 'CentOS 7' => '5.4', 'EL 9' => '7.4', 'EL 8' => '7.2', -// 'EL 7' => '5.4', 'Fedora 41' => '7.4', 'Fedora 40' => '7.4', 'Fedora 39' => '7.4', ]; $osmax = [ + 'RHEL 10' => '8.4', 'RHEL 9' => '8.4', 'RHEL 8' => '8.4', -// 'RHEL 7' => '8.3', + 'CentOS 10' => '8.4', 'CentOS 9' => '8.4', -// 'CentOS 8' => '8.3', -// 'CentOS 7' => '8.3', 'EL 9' => '8.4', 'EL 8' => '8.4', -// 'EL 7' => '8.3', 'Fedora 41' => '8.4', 'Fedora 40' => '8.4', 'Fedora 39' => '8.4', ]; $osname = [ ':rhel' => 'Red Hat Enterprise Linux', + 'RHEL 10' => 'RHEL 10.0-Beta (Development version)', 'RHEL 9' => 'RHEL 9.4', // (maintained until May 31, 2032) 'RHEL 8' => 'RHEL 8.9', // (maintained until May 31, 2029) -// 'RHEL 7' => 'RHEL 7.9 (maintained until June 30, 2024)', - ':centos' => 'CentOS Stream, CentOS Linux', + ':centos' => 'CentOS Stream', + 'CentOS 10' => 'CentOS Stream 10', 'CentOS 9' => 'CentOS Stream 9', // (maintained until May 31, 2027) -// 'CentOS 8' => 'CentOS Stream 8 (maintained until May 31, 2024)', -// 'CentOS 7' => 'CentOS 7 (maintained until June 30, 2024)', ':clone' => 'Alma Linux, Rocky Linux and other clones', 'EL 9' => 'EL 9', 'EL 8' => 'EL 8', -// 'EL 7' => 'EL 7 (maintained until June 30, 2024)', ':fedora' => 'Fedora Linux', 'Fedora 41' => 'Fedora 41', 'Fedora 40' => 'Fedora 40', @@ -299,11 +289,16 @@ if ($php && $os && $type && !$err) { switch ($os) { case 'RHEL 8': case 'RHEL 9': + case 'RHEL 10': printf("<li>Command to enabled the <b>CRB</b> repository:"); printf("<pre> subscription-manager repos --enable codeready-builder-for-rhel-%d-%s-rpms</pre></li><br />", $ver, $arch); break; case 'CentOS 8': case 'CentOS 9': + case 'CentOS 10': + case 'EL 8': + case 'EL 9': + case 'EL 10': printf("<li>Command to enabled the <b>CRB</b> repository:"); printf("<pre> dnf config-manager --set-enabled %s</pre></li><br />", $ver < 9 ? 'powertools' : 'crb'); break; |