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

-7
View File
@@ -13,13 +13,6 @@ grep -q 'run_logged .*hardware/dell-xps13-sidecar-amps.sh' "$all" ||
fail "the sidecar amplifier workaround runs during hardware setup"
pass "the sidecar amplifier workaround runs during hardware setup"
# The apply step rebuilds the boot image, so the default kernel must be installed.
kernel_line=$(grep -n 'hardware/kernel.sh' "$all" | cut -d: -f1)
amps_line=$(grep -n 'hardware/dell-xps13-sidecar-amps.sh' "$all" | cut -d: -f1)
((kernel_line < amps_line)) ||
fail "the sidecar amplifier workaround runs after the default kernel is installed"
pass "the sidecar amplifier workaround runs after the default kernel is installed"
[[ -n $migration ]] || fail "a migration enables the workaround on existing installs"
pass "a migration enables the workaround on existing installs"