fix(deploy): work around DietPi Trixie chromium path regression #14

Merged
addison merged 1 commit from exe-dev-bot/kiosk:fix/chromium-path-workaround into main 2026-02-13 05:44:35 -05:00
Contributor

DietPi Trixie has a regression where chromium-autostart.sh calls chromium without the full path. Under xinit, this fails because /usr/bin is not in $PATH, causing xinit to fall back to xterm (which is also not installed).

This is tracked upstream as MichaIng/DietPi#7923, fixed in 2e426bf, shipping in DietPi v10.1.

Until then, our automation script patches the autostart script to use /usr/bin/chromium. The workaround is guarded with a comment to remove it once v10.1 is released.

DietPi Trixie has a regression where `chromium-autostart.sh` calls `chromium` without the full path. Under `xinit`, this fails because `/usr/bin` is not in `$PATH`, causing `xinit` to fall back to `xterm` (which is also not installed). This is tracked upstream as [MichaIng/DietPi#7923](https://github.com/MichaIng/DietPi/issues/7923), fixed in [2e426bf](https://github.com/MichaIng/DietPi/commit/2e426bf), shipping in DietPi v10.1. Until then, our automation script patches the autostart script to use `/usr/bin/chromium`. The workaround is guarded with a comment to remove it once v10.1 is released.
DietPi Trixie's chromium-autostart.sh calls 'chromium' without the
full path, which fails under xinit (falling back to xterm, which is
also not installed). This is a known regression fixed upstream in
2e426bf.

Patch the autostart script in our automation to use /usr/bin/chromium
until DietPi v10.1 ships the fix.

Co-authored-by: Shelley <shelley@exe.dev>
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
kwila/kiosk!14
No description provided.