Boot splash: cycle the moon through its phases
CI / test (push) Failing after 50s

- Replace the static moon with a 64-frame lunar phase spritesheet, generated by boot/plymouth/render-phases.py and advanced about every 0.3 s (~5 s per cycle)
- Add a glow sprite behind the moon whose opacity follows the illuminated fraction
- render.sh renders the glow SVG and the phase sheet (needs python3 with numpy and Pillow)
- install-plymouth.py removes theme files that are no longer in the source theme, and checks for the new PNGs
- Drop moon.svg and moon.png in favour of glow.svg, glow.png and moon-phases.png
This commit is contained in:
nandi committed 2026-11-29 02:39:26 -08:00
1 parent 4fd2641c80
commit 7501fc3ad9
11 files changed
+212 -34

No files matched your search

+4 -3
View File
@@ -1,11 +1,12 @@
# Boot splash (OnePlus 6T)
The handset boots with [Plymouth](https://www.freedesktop.org/wiki/Software/Plymouth/) showing the
Chandra moon and a progress bar, from the initramfs until greetd starts the session. The same theme,
without the bar, covers reboot and power off.
Chandra moon cycling through its phases over a progress bar, from the initramfs until greetd starts
the session. The same theme, without the bar, covers reboot and power off.
- [`boot/plymouth/chandra/`](../boot/plymouth/chandra) is the theme (Plymouth's `script` plugin). Its
PNGs come from the SVGs beside it: `boot/plymouth/render.sh`.
PNGs come from the SVGs and lunar-phase generator beside it: `boot/plymouth/render.sh` (calls
`rsvg-convert` and `boot/plymouth/render-phases.py`).
- [`boot/install-plymouth.py`](../boot/install-plymouth.py) installs it on a Kupfer phone.
Plymouth estimates progress from the previous boot (`/var/lib/plymouth/boot-duration`). Without one,