[PATCH 0/2] Look for config and theme in runtime dir first
João Paulo Rechi Vita
jprvita at gmail.com
Fri Apr 7 14:01:15 UTC 2017
As I have mentioned in a previous email (subject: "Shipping a theme only in the
initramfs"), at Endless we want to have boot splash animation customization in
a self-contained initrd. For that to work, we need to make it available after
the initrd is gone as well, because 1) plymouth may show the splash only after
the switch root has already happened; and 2) we want to use the same theme for
the shutdown splash animation.
To achieve that we ship a service in the initrd which copy the custom config
file and theme (if they are found) to /run/plymouth. This patchset makes
plymouth look for these files in /run before checking their default locations.
I'm sending these for feedback and in case there is interest in having this
mechanism upstream. I can send the service files as well if there is interest,
but in that case we'll need to agree on what is a good generic trigger
mechanism (we ship these in a Endless-specific path, and use that as the
trigger).
João Paulo Rechi Vita (2):
main: Look for theme in runtime dir first
main: Look for config in runtime dir first
configure.ac | 3 +++
src/Makefile.am | 3 ++-
src/main.c | 29 ++++++++++++++++++++++++-----
3 files changed, 29 insertions(+), 6 deletions(-)
--
2.11.0
More information about the plymouth
mailing list