Install matching kernel headers for every DKMS setup
This commit is contained in:
1 parent
d237995b3b
commit
662051ecde
13 files changed
+138
-13
No files matched your search
@@ -10,7 +10,8 @@ set -e
|
||||
echo "Installing Xbox controller Bluetooth support..."
|
||||
|
||||
# Install xpadneo to ensure controllers work out of the box
|
||||
omarchy-pkg-add linux-headers xpadneo-dkms
|
||||
omarchy-pkg-add-kernel-headers
|
||||
omarchy-pkg-add xpadneo-dkms
|
||||
|
||||
# Prevent xpad/xpadneo driver conflict
|
||||
echo blacklist xpad | sudo tee /etc/modprobe.d/blacklist-xpad.conf >/dev/null
|
||||
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
# omarchy:summary=Install headers for the supported system kernel
|
||||
# omarchy:hidden=true
|
||||
# omarchy:requires-sudo=true
|
||||
|
||||
# Inspect the target's packages: uname reports the live ISO kernel in a chroot.
|
||||
# A retained stock kernel must not take precedence over the Omarchy kernel.
|
||||
if omarchy-pkg-present linux-t2; then
|
||||
omarchy-pkg-add linux-t2-headers
|
||||
else
|
||||
omarchy-pkg-add linux-omarchy-headers
|
||||
fi
|
||||
Reference in new issue
Block a user