Add migration to handle lingering panel_replay addition

This commit is contained in:
Ryan Hughes
2026-05-04 19:48:10 -04:00
parent 90e07f42d2
commit 2315271e8e
+10
View File
@@ -0,0 +1,10 @@
echo "Remove stale Xe Panel Replay kernel cmdline from Dell XPS Panther Lake systems"
DEFAULT_LIMINE="/etc/default/limine"
if omarchy-hw-match "XPS" && omarchy-hw-intel-ptl; then
if [[ -f $DEFAULT_LIMINE ]] && grep -q 'xe\.enable_panel_replay' "$DEFAULT_LIMINE"; then
sudo sed -i '/^KERNEL_CMDLINE.*xe\.enable_panel_replay/d' "$DEFAULT_LIMINE"
sudo limine-update
fi
fi