From 04d037f3edab1f197b033f8f5a88d4ef4e26daac Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Wed, 23 Sep 2020 14:33:01 +0400 Subject: [PATCH] support rhel8 / ol8 --- lib/ulib/sysinfos | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/ulib/sysinfos b/lib/ulib/sysinfos index 575f5c8..e34b21c 100644 --- a/lib/ulib/sysinfos +++ b/lib/ulib/sysinfos @@ -28,8 +28,8 @@ debianlike_SYSVERS=() debian_SYSVERS=(buster stretch jessie wheezy squeeze lenny etch) ubuntu_SYSVERS=(oneiric natty maverick lucid karmic jaunty intrepid hardy) redhatlike_SYSVERS=() -ol_SYSVERS=(ol7 ol6 redhat7 redhat6) -rhel_SYSVERS=(rhel7 rhel6 rhel5 rhel4 redhat7 redhat6 redhat5 redhat4) +ol_SYSVERS=(ol8 ol7 ol6 redhat8 redhat7 redhat6) +rhel_SYSVERS=(rhel8 rhel7 rhel6 rhel5 rhel4 redhat8 redhat7 redhat6 redhat5 redhat4) fedora_SYSVERS=(fedora14 fedora13 fedora12 fedora11) centos_SYSVERS=(centos7 centos6 centos5 centos4 redhat7 redhat6 redhat5 redhat4) suse_SYSVERS=() @@ -157,6 +157,7 @@ function __compute_sysinfos() { elif [ -n "$oracle_release" ]; then MYSYSDIST=(ol rhel redhatlike) case "$oracle_release" in + Oracle*Linux*release\ 8*) MYSYSVER=(ol8 rhel8 redhat8);; Oracle*Linux*release\ 7*) MYSYSVER=(ol7 rhel7 redhat7);; Oracle*Linux*release\ 6*) MYSYSVER=(ol6 rhel6 redhat6);; esac @@ -172,10 +173,12 @@ function __compute_sysinfos() { Fedora*13*) MYSYSVER=(fedora13);; Fedora*12*) MYSYSVER=(fedora12);; Fedora*11*) MYSYSVER=(fedora11);; + Red*Hat*Enterprise*Linux*release\ 8*) MYSYSVER=(rhel8 redhat8);; Red*Hat*Enterprise*Linux*release\ 7*) MYSYSVER=(rhel7 redhat7);; Red*Hat*Enterprise*Linux*release\ 6*) MYSYSVER=(rhel6 redhat6);; Red*Hat*Enterprise*Linux*release\ 5*) MYSYSVER=(rhel5 redhat5);; Red*Hat*Enterprise*Linux*release\ 4*) MYSYSVER=(rhel4 redhat4);; + CentOS*release\ 8*) MYSYSVER=(centos8 redhat8);; CentOS*release\ 7*) MYSYSVER=(centos7 redhat7);; CentOS*release\ 6*) MYSYSVER=(centos6 redhat6);; CentOS*release\ 5*) MYSYSVER=(centos5 redhat5);;