]> git.ipfire.org Git - people/pmueller/ipfire-3.x.git/commitdiff
plymouth: Fix broken logo symlink
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 7 Mar 2023 13:50:33 +0000 (13:50 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 7 Mar 2023 13:59:22 +0000 (13:59 +0000)
This reverts commit 08445b698be12fc4ee16423b295d677fb89e6728.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
plymouth/plymouth.nm

index 5d3ac16b003055759c922959a3c04e77d6c60c35..4295518963141fa7880b9133946fd1e1c4062272 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = plymouth
 version    = 22.02.122
-release    = 3
+release    = 4
 
 groups     = System/Base
 url        = https://www.freedesktop.org/wiki/Software/Plymouth
@@ -33,11 +33,14 @@ build
                libudev-devel
                pango-devel >= 1.21.0
                systemd-devel
+
+               %{datadir}/pixmaps/system-logo-white.png
        end
 
        configure_options += \
                --libexecdir=/usr/lib \
                --disable-gtk \
+               --with-logo=%{datadir}/pixmaps/system-logo-white.png \
                --with-background-start-color-stop=0x880400 \
                --with-background-end-color-stop=0x000000 \
                --with-background-color=0x880400 \
@@ -49,6 +52,13 @@ build
        # Fix install location for systemd files
        make_install_targets += \
                SYSTEMD_UNIT_DIR=%{unitdir}
+
+       install_cmds
+               # HACK: Replace symlink with a copy of the logo
+               rm -vf %{BUILDROOT}%{datadir}/plymouth/themes/spinfinity/header-image.png
+               cp -vf %{datadir}/pixmaps/system-logo-white.png \
+                       %{BUILDROOT}%{datadir}/plymouth/themes/spinfinity/header-image.png
+       end
 end
 
 packages