Accepting request 832700 from home:qzhao:branches:Base:System
Add plymouth-no-longer-modify-conf-to-drop-isopensuse-macro.patch: plymouth will use plymouthd.defaults instead of plymouth.conf and packge plymouthd.defaults in a seperet RPM. this can avoid change SUSE or openSUSE branding section with is_opensuse macro in the config file. means this modification can close the leaps gap (jsc#SLE-11637). OBS-URL: https://build.opensuse.org/request/show/832700 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=269
This commit is contained in:
parent
4e0545865e
commit
be2eb18f69
@ -1,6 +1,6 @@
|
||||
diff -Nura plymouth-0.9.5+git20190908+3abfab2/scripts/plymouth-set-default-theme.in plymouth-0.9.5+git20190908+3abfab2_new/scripts/plymouth-set-default-theme.in
|
||||
--- plymouth-0.9.5+git20190908+3abfab2/scripts/plymouth-set-default-theme.in 2019-09-09 15:31:37.000000000 +0800
|
||||
+++ plymouth-0.9.5+git20190908+3abfab2_new/scripts/plymouth-set-default-theme.in 2020-09-02 17:31:50.644198200 +0800
|
||||
+++ plymouth-0.9.5+git20190908+3abfab2_new/scripts/plymouth-set-default-theme.in 2020-09-07 16:09:51.568487811 +0800
|
||||
@@ -58,7 +58,12 @@
|
||||
|
||||
function get_default_theme ()
|
||||
@ -15,7 +15,7 @@ diff -Nura plymouth-0.9.5+git20190908+3abfab2/scripts/plymouth-set-default-theme
|
||||
if [ -z "$THEME_NAME" -o ! -r "${PLYMOUTH_DATADIR}/plymouth/themes/$THEME_NAME/$THEME_NAME.plymouth" ]; then
|
||||
THEME_NAME=$(read_theme_name_from_file ${PLYMOUTH_POLICYDIR}/plymouthd.defaults)
|
||||
fi
|
||||
@@ -168,9 +173,15 @@
|
||||
@@ -168,9 +173,16 @@
|
||||
fi
|
||||
|
||||
if [ $DO_RESET -ne 0 ]; then
|
||||
@ -26,7 +26,8 @@ diff -Nura plymouth-0.9.5+git20190908+3abfab2/scripts/plymouth-set-default-theme
|
||||
+ sed -i -e '/^Theme[[:blank:]]*=.*/d' ${PLYMOUTH_CONFDIR}/plymouthd.conf
|
||||
+ exit $?
|
||||
+ elif [ -f ${PLYMOUTH_DATADIR}/plymouth/plymouthd.defauts ]; then
|
||||
+ sed -i -e '/^Theme[[:blank:]]*=.*/d' ${PLYMOUTH_DATADIR}/plymouth/plymouthd.defauts
|
||||
+ cp ${PLYMOUTH_DATADIR}/plymouth/plymouthd.defauts ${PLYMOUTH_CONFDIR}/plymouthd.conf
|
||||
+ sed -i -e '/^Theme[[:blank:]]*=.*/d' ${PLYMOUTH_CONFDIR}/plymouthd.conf
|
||||
+ exit $?
|
||||
+ else
|
||||
+ exit 0
|
||||
@ -36,7 +37,7 @@ diff -Nura plymouth-0.9.5+git20190908+3abfab2/scripts/plymouth-set-default-theme
|
||||
if [ ! -e ${PLYMOUTH_DATADIR}/plymouth/themes/${THEME_NAME}/${THEME_NAME}.plymouth ]; then
|
||||
diff -Nura plymouth-0.9.5+git20190908+3abfab2/src/Makefile.am plymouth-0.9.5+git20190908+3abfab2_new/src/Makefile.am
|
||||
--- plymouth-0.9.5+git20190908+3abfab2/src/Makefile.am 2019-09-09 15:31:37.000000000 +0800
|
||||
+++ plymouth-0.9.5+git20190908+3abfab2_new/src/Makefile.am 2020-09-02 17:32:57.830788642 +0800
|
||||
+++ plymouth-0.9.5+git20190908+3abfab2_new/src/Makefile.am 2020-09-07 10:50:57.711594680 +0800
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
plymouthd_CFLAGS = $(PLYMOUTH_CFLAGS) \
|
||||
|
@ -8,6 +8,12 @@ Sat Aug 29 06:13:50 UTC 2020 - Cliff Zhao <qzhao@suse.com>
|
||||
config file. means this modification can close the leaps gap
|
||||
(jsc#SLE-11637).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 28 16:11:25 UTC 2020 - Cliff Zhao <qzhao@suse.com>
|
||||
|
||||
- Update plymouth.spec: Dropping gdm transition because it has
|
||||
alreay deprecated by upstream. Removing git build dependency.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 15 13:54:25 UTC 2020 - Cliff Zhao <qzhao@suse.com>
|
||||
|
||||
|
@ -131,15 +131,13 @@ This package contains the libply library used by Plymouth.
|
||||
%package branding-upstream
|
||||
Summary: default configuration file and branding from the Plymouth upstream.
|
||||
Group: System/Base
|
||||
Requires: %{name} = %{version}
|
||||
Provides: %{name}-branding = %{version}-%{release}.
|
||||
Conflicts: %{name}-branding
|
||||
BuildArch: noarch
|
||||
|
||||
%description branding-upstream
|
||||
This package contains the /usr/share/plymouthd.defaults which contains the basic
|
||||
settings and branding from the upstream. the Plymouth in SLE and openSUSE will
|
||||
nolonger /etc/plymouth/plymouthd.conf at all, and it will read plymouthd.defaults
|
||||
if /etc/plymouth/plymouthd.conf doesn't exist.
|
||||
settings and branding from the upstream.
|
||||
|
||||
%package devel
|
||||
Summary: Libraries and headers for writing Plymouth splash plugins
|
||||
@ -534,7 +532,7 @@ fi
|
||||
%dir %{_libdir}/plymouth
|
||||
%dir %{_libdir}/plymouth/renderers
|
||||
%dir %{_sysconfdir}/plymouth
|
||||
%config(noreplace) %ghost %{_sysconfdir}/plymouth/plymouthd.conf
|
||||
%ghost %{_sysconfdir}/plymouth/plymouthd.conf
|
||||
%{plymouthdaemon_execdir}/plymouthd
|
||||
%{plymouthclient_execdir}/plymouth
|
||||
/bin/plymouth
|
||||
|
Loading…
Reference in New Issue
Block a user