Leave fresh-install kernel selection to the ISO

This commit is contained in:
Ryan Hughes committed 2026-09-14 16:46:45 -04:00
1 parent ff85faf8dd
commit 08a875852e
4 files changed
+1 -103

No files matched your search

+1 -3
View File
@@ -1,5 +1,3 @@
run_logged "$OMARCHY_INSTALL/hardware/kernel.sh"
run_logged "$OMARCHY_INSTALL/hardware/asus-rog.sh"
run_logged "$OMARCHY_INSTALL/hardware/framework16.sh"
run_logged "$OMARCHY_INSTALL/hardware/dell-xps-touchpad-haptics.sh"
@@ -23,7 +21,7 @@ run_logged "$OMARCHY_INSTALL/hardware/intel/sof-firmware.sh"
run_logged "$OMARCHY_INSTALL/hardware/fix-elgato-camlink-4k.sh"
# Rebuilds the boot image, so it follows kernel and camera module setup.
# Rebuilds the boot image, so it follows camera module setup.
run_logged "$OMARCHY_INSTALL/hardware/dell-xps13-sidecar-amps.sh"
run_logged "$OMARCHY_INSTALL/hardware/asus/fix-asus-ptl-display-backlight.sh"
-9
View File
@@ -1,9 +0,0 @@
# Install the default kernel before hardware setup pulls in DKMS modules.
# On a fresh T2 install linux-t2 is not installed yet, so also check the chip.
if [[ $(uname -m) == "x86_64" ]] && ! omarchy-pkg-present linux-t2; then
pci_devices=$(lspci -nn)
if ! grep "106b:180[12]" <<< "$pci_devices" >/dev/null; then
echo "Installing the Omarchy kernel..."
omarchy-pkg-add linux-omarchy linux-omarchy-headers
fi
fi