Treat matching kernel headers as a base system guarantee

(cherry picked from commit 24417bf191)
This commit is contained in:
Ryan Hughes committed 2026-09-15 00:46:59 -04:00
1 parent 28d5251e23
commit 8f3ab025b8
12 files changed
+64 -111

No files matched your search

+5 -3
View File
@@ -3,6 +3,8 @@ echo "Install missing headers for the Omarchy or T2 kernel"
# Fresh ISO installs mark earlier migrations complete, so the kernel migration
# cannot repair headers omitted by those installers. Package installation is
# idempotent when another user has already applied this repair.
if omarchy-pkg-present linux-omarchy || omarchy-pkg-present linux-t2; then
omarchy-pkg-add-kernel-headers
fi
for kernel in linux-omarchy linux-t2; do
if omarchy-pkg-present "$kernel"; then
omarchy-pkg-add "$kernel-headers"
fi
done