Invalidate the display rebuild marker before repairing its drop-in
A pending migration must rebuild after restoring its missing display configuration even when another user previously completed the machine-wide rebuild. Remove the fixed marker before writing the drop-in so failed writes and builds remain retryable. Fresh installation already rebuilds after hardware setup through the ISO finalizer. Co-Authored-By: GPT-6.1-Sol XHigh <noreply@openai.com> Co-Authored-By: Greptile <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
8f7dd71fda
commit
81df05533c
3 files changed
+20
-4
No files matched your search
@@ -1,8 +1,11 @@
|
||||
if omarchy-hw-dell-xps13-dx13260-ptl; then
|
||||
display_conf="/etc/limine-entry-tool.d/dell-xps13-ptl-display.conf"
|
||||
display_rebuild_marker="/var/lib/omarchy/migrations/1790916392"
|
||||
display_cmdline='KERNEL_CMDLINE[default]+=" xe.enable_psr2_sel_fetch=0 xe.enable_panel_replay=0"'
|
||||
|
||||
if [[ ! -f $display_conf ]] || ! grep -Fxq "$display_cmdline" "$display_conf"; then
|
||||
# A repaired drop-in invalidates the previous boot image rebuild.
|
||||
sudo rm -f "$display_rebuild_marker"
|
||||
sudo mkdir -p /etc/limine-entry-tool.d
|
||||
printf '%s\n' '# Dell XPS 13 Panther Lake display workaround' "$display_cmdline" |
|
||||
sudo tee "$display_conf" >/dev/null
|
||||
|
||||
Reference in new issue
Block a user