Support the other splash screen mockups

Message ID
DKIM signature
Download raw message
There are boot flow mockups on 

My proposal:

1. Add an unix socket to pbsplash that is listened on for commands while 
it's displaying the splash screen in the initfs

2. Create a pbctl utility to send messages to that socket to update the 

There would be 4 different states for the UI that can be switched to 
with pbctl:

* Display the loading screen dots with `pbctl --dots`

* Display a text message with `pbctl --text "Resizing the rootfs"`

* Display a progress bar with `pbctl --progress 42`

* Display a battery level with `pbctl --battery 

Additionally for switching to a different theme there should be a 
command to pick a different svg to render as "logo"

* pbctl --svg /usr/share/something/logo-error.svg

Possibly these should be able to be combined to have an atomic update to 
switch to the error theme and an error message in the same frame.

Doing this with pbctl and a socket means that the transitions between 
these states can be perfect without any blinks or restarting for a 
smoother boot experience.
Reply to thread Export thread (mbox)