This patch adds plymouth, the early bootprocess daemon.It provides a 'boot splash'. Users will not install this on their own (or be able touse it freestanding) which is why we need at least asystem-service for this. I'd hate to be the bottleneck for this, so here is my workfrom back in december (builds okay!). According to Gentoo, we will need to apply changes to theGRUB menu and are advised to disable the linux boot logodisplay (https://wiki.gentoo.org/wiki/Plymouth). I also advise like we concluded in a chat in december,that we write a system test for this. -- https://pragmatique.xyzPGP: https://people.pragmatique.xyz/ng0/
These differ from the configure flags above that say that the global/etc should be used. Is this on purpose?
Toggle quote (32 lines)> + #:phases> + (modify-phases %standard-phases> + (add-before 'configure 'fix-docbook> + (lambda* (#:key inputs #:allow-other-keys)> + (substitute* "docs/Makefile.in"> + (("http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl")> + (string-append (assoc-ref inputs "docbook-xsl")> + "/xml/xsl/docbook-xsl-"> + ,(package-version docbook-xsl)> + "/manpages/docbook.xsl")))> + (setenv "XML_CATALOG_FILES"> + (string-append (assoc-ref inputs "docbook-xml")> + "/xml/dtd/docbook/catalog.xml"))> + #t)))))> + (inputs> + `(("gtk+" ,gtk+)> + ("glib" ,glib)> + ("cairo" ,cairo)> + ("libdrm" ,libdrm)> + ("pango" ,pango)> + ("libpng" ,libpng)> + ("eudev" ,eudev)))> + (native-inputs> + `(("pkg-config" ,pkg-config)> + ("libxslt" ,libxslt)> + ("docbook-xsl" ,docbook-xsl)> + ("docbook-xml" ,docbook-xml)))> + (synopsis "Graphical boot animation (splash) and logger")> + (home-page "https://www.freedesktop.org/wiki/Software/Plymouth/")> + (description> + "Plymouth is an application that runs very early in the boot> +process (even before the root filesystem is mounted!) that provides
Toggle quote (3 lines)> +a graphical boot animation while the boot process happens in the> +background.
I wonder how this will work “before the root filesystem is mounted” whenthe store actually sits on the root filesystem. I would prefer to onlyadd this once it actually works, so I’d very much like to see a proof ofconcept for how to use it in a system. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAChttps://elephly.net
Commit 5b9bdeb52cc25e35e74bbc10fa102e3fcc4baab9 adds Plymouth. I updated to 0.9.4, removed all the unnecessary configure and makeflags, removed GTK support because it blew up the closure size from~200MB to 800MB, which isn’t suitable for use in an initrd. I tried using it in a VM, but I haven’t yet been able to make the splashappear. It seems to be unable to find a graphical display and switchesto the “detailed” view, which merely prints to the console. I did try loading uvesafb in the initrd, but all I get is a garbledscreen. On the plus side, plymouth does work as expected on my booted machine,so I went ahead and pushed the commit. --Ricardo