2020-07-21 18:08:56 +02:00
|
|
|
diff -Nura plymouth-0.9.5+git20191101+d18086e/scripts/plymouth-populate-initrd.in plymouth-0.9.5+git20191101+d18086e_new/scripts/plymouth-populate-initrd.in
|
|
|
|
--- plymouth-0.9.5+git20191101+d18086e/scripts/plymouth-populate-initrd.in 2019-11-06 10:19:50.000000000 +0800
|
|
|
|
+++ plymouth-0.9.5+git20191101+d18086e_new/scripts/plymouth-populate-initrd.in 2019-12-14 18:28:06.448000000 +0800
|
|
|
|
@@ -461,6 +461,15 @@
|
2019-03-12 14:03:43 +01:00
|
|
|
inst_recur "${PLYMOUTH_IMAGE_DIR}"
|
2016-02-08 15:24:08 +01:00
|
|
|
fi
|
|
|
|
|
|
|
|
+if [ -f "${PLYMOUTH_PLUGIN_PATH}/label-ft.so" ]; then
|
2019-03-12 14:03:43 +01:00
|
|
|
+ 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
|
2016-02-08 15:24:08 +01:00
|
|
|
+fi
|
|
|
|
+
|
2020-07-21 18:08:56 +02:00
|
|
|
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
|
2016-02-08 15:24:08 +01:00
|
|
|
fi
|