Request a reboot directly in the PTL firmware migration

Each pending user's one-time migration requests a reboot even when hardware setup has already installed the aliases. Let migration completion handle repeat runs and remove the shared marker and its privileged write.

Co-Authored-By: Greptile <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
Spencer BullandGreptile committed 2026-10-06 21:56:49 -05:00
1 parent 499f50ffd6
commit db21abdef0
2 files changed
+16 -63

No files matched your search

+1 -10
View File
@@ -1,15 +1,6 @@
echo "Install the Dell XPS 13 Panther Lake speaker firmware"
if omarchy-hw-dell-xps13-dx13260-ptl; then
firmware_pending="/run/omarchy/xps13-ptl-speaker-firmware"
if omarchy-pkg-missing linux-firmware-cirrus-dx13260; then
sudo install -Dm644 /dev/null "$firmware_pending"
fi
source "$OMARCHY_PATH/install/hardware/dell-xps13-ptl-speaker-firmware.sh"
# The marker lasts until reboot so every user migrating beforehand is prompted.
if [[ -e $firmware_pending ]]; then
omarchy-state set reboot-required
fi
omarchy-state set reboot-required
fi