Install matching kernel headers for every DKMS setup

This commit is contained in:
Ryan Hughes committed 2026-09-15 00:06:17 -04:00
1 parent d237995b3b
commit 662051ecde
13 files changed
+138 -13

No files matched your search

+13
View File
@@ -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