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
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