Commit 362aeffb authored by root's avatar root

changes to for rocky9.1

parent 6475cf21
...@@ -34,6 +34,7 @@ case "$OS_DISTRO" in ...@@ -34,6 +34,7 @@ case "$OS_DISTRO" in
fedora) OS_BASEDISTRO="fedora"; INSTALLER="dnf"; CMAKE="cmake" ;; fedora) OS_BASEDISTRO="fedora"; INSTALLER="dnf"; CMAKE="cmake" ;;
rhel) OS_BASEDISTRO="fedora"; INSTALLER="yum"; CMAKE="cmake3" ;; rhel) OS_BASEDISTRO="fedora"; INSTALLER="yum"; CMAKE="cmake3" ;;
centos) OS_BASEDISTRO="centos"; INSTALLER="yum"; CMAKE="cmake3" ;; centos) OS_BASEDISTRO="centos"; INSTALLER="yum"; CMAKE="cmake3" ;;
rocky) OS_BASEDISTRO="fedora"; INSTALLER="yum"; CMAKE="cmake3" ;;
debian) OS_BASEDISTRO="debian"; INSTALLER="apt-get"; CMAKE="cmake" ;; debian) OS_BASEDISTRO="debian"; INSTALLER="apt-get"; CMAKE="cmake" ;;
ubuntu) OS_BASEDISTRO="debian"; INSTALLER="apt-get"; CMAKE="cmake" ;; ubuntu) OS_BASEDISTRO="debian"; INSTALLER="apt-get"; CMAKE="cmake" ;;
esac esac
...@@ -126,6 +127,7 @@ check_supported_distribution() { ...@@ -126,6 +127,7 @@ check_supported_distribution() {
"rhel9.3") return 0 ;; "rhel9.3") return 0 ;;
"centos7") return 0 ;; "centos7") return 0 ;;
"centos8") return 0 ;; "centos8") return 0 ;;
"rocky9.1") return 0 ;;
esac esac
return 1 return 1
} }
......
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <linux/sysctl.h> #include <linux/sysctl.h>
#include <sys/sysctl.h> //#include <sys/sysctl.h>
#include <pthread.h> #include <pthread.h>
#include "common_lib.h" #include "common_lib.h"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment