Add xpadneo properly #28
@@ -3,18 +3,14 @@
|
|||||||
# Tell build process to exit if there are any errors.
|
# Tell build process to exit if there are any errors.
|
||||||
set -oue pipefail
|
set -oue pipefail
|
||||||
|
|
||||||
echo "INFO: kernel module"
|
echo "INFO: grab kernel module"
|
||||||
dnf list --installed | grep kernel.x86_64
|
KERNEL_VER=${ls /lib/modules | head -n 1}
|
||||||
|
echo $KERNEL_VER
|
||||||
|
|
||||||
echo "INFO: uname -r output:"
|
echo "INFO: grab xpad modules"
|
||||||
uname -r
|
MODULE_VER=${ls /usr/src | grep xpadneo | sed 's/-/\//'}
|
||||||
|
echo $MODULE_VER
|
||||||
echo "INFO: list /lib/modules/"
|
|
||||||
ls /lib/modules
|
|
||||||
|
|
||||||
echo "INFO: xpad modules in /usr/src"
|
|
||||||
ls /usr/src | grep xpad
|
|
||||||
|
|
||||||
echo "INFO: build and install xpadneo"
|
echo "INFO: build and install xpadneo"
|
||||||
sudo dkms build -m xpadneo/0.9.7 -k 6.14.11-300.fc42.x86_64
|
sudo dkms build -m $MODULE_VER -k $KERNEL_VER
|
||||||
sudo dkms install -m xpadneo/0.9.7 -k 6.14.11-300.fc42.x86_64
|
sudo dkms install -m $MODULE_VER -k $KERNEL_VER
|
Reference in New Issue
Block a user