From: Michael Tremer Date: Tue, 7 Mar 2023 13:50:33 +0000 (+0000) Subject: plymouth: Fix broken logo symlink X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b2be9937b759da0d84b61c7dd87b84d1f741dcc7;p=people%2Fstevee%2Fipfire-3.x.git plymouth: Fix broken logo symlink This reverts commit 08445b698be12fc4ee16423b295d677fb89e6728. Signed-off-by: Michael Tremer --- diff --git a/plymouth/plymouth.nm b/plymouth/plymouth.nm index 5d3ac16b0..429551896 100644 --- a/plymouth/plymouth.nm +++ b/plymouth/plymouth.nm @@ -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