1
0
Fork 0

openzfs_install.sh: use pkg kernel-devel-matched instead of kernel-devel-UNAME_R

This commit is contained in:
Pratham Patel 2022-10-16 21:07:02 +05:30
parent 41bd425999
commit 0b8afb1241
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
source /etc/os-release
if [[ "$ID" == "centos" || "$ID" == "rocky" ]]; then
sudo dnf install gcc make autoconf automake libtool rpm-build libtirpc-devel libblkid-devel libuuid-devel libudev-devel openssl-devel zlib-devel libaio-devel libattr-devel elfutils-libelf-devel kernel-devel-$(uname -r) python3 python3-devel python3-setuptools python3-cffi libffi-devel git libcurl-devel python3-packaging dkms bind-utils -y
sudo dnf install gcc make autoconf automake libtool rpm-build libtirpc-devel libblkid-devel libuuid-devel libudev-devel openssl-devel zlib-devel libaio-devel libattr-devel elfutils-libelf-devel kernel-devel-matched python3 python3-devel python3-setuptools python3-cffi libffi-devel git libcurl-devel python3-packaging dkms bind-utils -y
elif [[ "$ID" == "fedora" ]]; then
sudo dnf install autoconf automake dkms elfutils-libelf-devel gcc git kernel-devel-$(uname -r) kernel-rpm-macros libaio-devel libattr-devel libblkid-devel libcurl-devel libffi-devel libtirpc-devel libtool libudev-devel libuuid-devel make ncompress openssl-devel python3 python3-cffi python3-devel python3-packaging python3-setuptools rpm-build zlib-devel -y
fi