SHA256
1
0
forked from pool/plymouth

Accepting request 920142 from home:qzhao:branches:Base:System

Add plymouth-watermark-config.patch: Add two-step watermark theme config support, make the plymouth-branding easy to work (bsc#1189613).

OBS-URL: https://build.opensuse.org/request/show/920142
OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=308
This commit is contained in:
2021-09-19 11:55:20 +00:00
committed by Git OBS Bridge
parent bb83894fe8
commit ac919a5202
3 changed files with 60 additions and 5 deletions

View File

@@ -49,6 +49,8 @@ Patch7: plymouth-only_use_fb_for_cirrus_bochs.patch
Patch8: plymouth-keep-KillMode-none.patch
# PATCH-FIX-OPENSUSE plymouth-set-default-theme-suse-branding.patch bsc#1189613 qzhao@suse.com -- set plymouth's default theme to openSUSE/SUSE branding assigned style to avoid screen mass.
Patch9: plymouth-set-default-theme-suse-branding.patch
# PATCH-FIX-OPENSUSE plymouth-watermark-config.patch bsc#1189613 qzhao@suse.com -- Add two-step water mark config support.
Patch10: plymouth-watermark-config.patch
# PATCH-FIX-UPSTREAM 0001-Add-label-ft-plugin.patch boo#959986 fvogt@suse.com -- add ability to output text in initrd needed for encryption.
Patch1000: 0001-Add-label-ft-plugin.patch
# PATCH-FIX-UPSTREAM 0002-Install-label-ft-plugin-into-initrd-if-available.patch boo#959986 fvogt@suse.com -- add ability to output text in initrd needed for encryption.
@@ -93,6 +95,7 @@ Suggests: %{name}-theme-bgrt = %{version}
Suggests: %{name}-theme-spinner = %{version}
%endif
Recommends: %{name}-lang
Requires: %{name}-scripts
Requires: libdrm2
Requires: libply%{soversion} = %{version}
Requires: libply-boot-client%{soversion} = %{version}
@@ -408,7 +411,6 @@ autoreconf -ivf
--disable-static \
--disable-upstart-monitoring \
--disable-tests \
--disable-libkms \
%if %{without x11_renderer}
--disable-gtk \
%endif
@@ -478,10 +480,7 @@ if [ $1 -eq 0 ]; then
fi
%posttrans
plymouth-set-default-theme -r
if [ $? -eq 0 ]; then
plymouth-set-default-theme -R
fi
plymouth-set-default-theme -r && plymouth-set-default-theme -R
%if 0%{?suse_version} > 1500
%ldconfig_scriptlets -n libply-boot-client%{soversion}