forked from pool/plymouth
Cliff Zhao
1799fdbb0d
1. Add plymouth-log-on-default.patch: Enable plymouth log by default, help to resolve random appear problems (bsc#1193736). 2. Pick back patch information for label-ft. OBS-URL: https://build.opensuse.org/request/show/975514 OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=316
32 lines
1.4 KiB
Diff
32 lines
1.4 KiB
Diff
From 2c4145e4b7e146541ba8e33aee5e0125423d97bc Mon Sep 17 00:00:00 2001
|
|
From: Fabian Vogt <fvogt@suse.com>
|
|
Date: Wed, 20 Jan 2016 14:03:18 +0100
|
|
Subject: [PATCH 2/2] Install label-ft plugin into initrd, if available
|
|
|
|
It is small and useful enough to include it by default.
|
|
|
|
Signed-off-by: Fabian Vogt <fvogt@suse.com>
|
|
---
|
|
scripts/plymouth-populate-initrd.in | 9 +++++++++
|
|
1 file changed, 9 insertions(+)
|
|
|
|
diff -Nura plymouth-0.9.5+git20200921+20778f2/scripts/plymouth-populate-initrd.in plymouth-0.9.5+git20200921+20778f2_new/scripts/plymouth-populate-initrd.in
|
|
--- plymouth-0.9.5+git20200921+20778f2/scripts/plymouth-populate-initrd.in 2020-10-05 23:05:13.055563514 +0800
|
|
+++ plymouth-0.9.5+git20200921+20778f2_new/scripts/plymouth-populate-initrd.in 2020-10-05 23:08:35.098420945 +0800
|
|
@@ -461,6 +461,15 @@
|
|
inst_recur "${PLYMOUTH_IMAGE_DIR}"
|
|
fi
|
|
|
|
+if [ -f "${PLYMOUTH_PLUGIN_PATH}/label-ft.so" ]; then
|
|
+ inst ${PLYMOUTH_PLUGIN_PATH}/label-ft.so $INITRDDIR
|
|
+ font=$(fc-match -f %{file})
|
|
+ inst "$font" $INITRDDIR
|
|
+ # The label-ft plugin expects it at this location
|
|
+ mkdir -p $INITRDDIR/usr/share/fonts
|
|
+ ln -s "$font" $INITRDDIR/usr/share/fonts/Plymouth.ttf
|
|
+fi
|
|
+
|
|
if [ -L ${PLYMOUTH_SYSROOT}${PLYMOUTH_DATADIR}/plymouth/themes/default.plymouth ]; then
|
|
cp -a ${PLYMOUTH_SYSROOT}${PLYMOUTH_DATADIR}/plymouth/themes/default.plymouth $INITRDDIR${PLYMOUTH_DATADIR}/plymouth/themes
|
|
fi
|