blob: 00abac35243f7e891959ca86b69ba744b49319a0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# This patch disables install of modprobe and udev file in '/etc' at
# DKMS step. For Arch at least, these files usually go on '/usr/lib'
# when they aren't actual user files.
diff -crB hid-xpadneo/dkms.post_install hid-xpadneo.new/dkms.post_install
*** hid-xpadneo/dkms.post_install 2023-03-01 02:13:11.483605532 -0300
--- hid-xpadneo.new/dkms.post_install 2023-03-01 03:21:07.876809434 -0300
***************
*** 21,33 ****
echo "Y" >"${DISABLE_ERTM}"
fi
fi
-
- echo "Installing modalias database..."
- install -D -m 0644 -t /etc/modprobe.d etc-modprobe.d/xpadneo.conf
-
- echo "Installing udev rules..."
- install -D -m 0644 -t /etc/udev/rules.d etc-udev-rules.d/50-xpadneo-fixup-steamlink.rules
- install -D -m 0644 -t /etc/udev/rules.d etc-udev-rules.d/60-xpadneo.rules
-
- echo "Reloading udev..."
- udevadm control --reload
--- 21,23 ----
diff -crB hid-xpadneo/dkms.post_remove hid-xpadneo.new/dkms.post_remove
*** hid-xpadneo/dkms.post_remove 2023-03-01 02:13:11.483605532 -0300
--- hid-xpadneo.new/dkms.post_remove 2023-03-01 03:21:11.027791943 -0300
***************
*** 4,16 ****
ERTM_OVERRIDE="/etc/modprobe.d/99-xpadneo-bluetooth.conf"
[ -L "${ERTM_OVERRIDE}" ] || { echo "Uninstalling ERTM override..."; rm -f "${ERTM_OVERRIDE}"; }
-
- echo "Uninstalling modalias database..."
- rm -f /etc/modprobe.d/xpadneo.conf
-
- echo "Uninstalling udev rules..."
- rm -f /etc/udev/rules.d/60-xpadneo.rules
- rm -f /etc/udev/rules.d/50-xpadneo-fixup-steamlink.rules
-
- echo "Reloading udev..."
- udevadm control --reload
--- 4,6 ----
|