]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(plymouth): install binaries with dependencies
authorZoltán Böszörményi <zboszor@pr.hu>
Tue, 9 Feb 2021 13:59:43 +0000 (14:59 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Tue, 9 Feb 2021 17:17:12 +0000 (18:17 +0100)
If plymouth is used then its own installation script is preferred.
While plymouth's own variant of inst_binary resolves the library
dependencies properly, its inst_library shell function doesn't
actually install them in some cases properly.

Make sure to install both the required binaries and their
dependencies. In the worst case, it's a NOP.

Signed-off-by: Zoltán Böszörményi <zboszor@pr.hu>
modules.d/50plymouth/module-setup.sh

index 821a9f716586a5590badf642964b3cdede5be615..d7eb8f94cc15904a7ad5354b07a31aa15d5f020d 100755 (executable)
@@ -41,6 +41,8 @@ install() {
 
     inst_multiple readlink
 
+    inst_multiple plymouthd plymouth plymouth-set-default-theme
+
     if ! dracut_module_included "systemd"; then
         inst_hook pre-trigger 10 "$moddir"/plymouth-pretrigger.sh
         inst_hook pre-pivot 90 "$moddir"/plymouth-newroot.sh