plymouth/0002-Install-label-ft-plugin-into-initrd-if-available.patch
Cliff Zhao d38959d6ee Accepting request 840078 from home:qzhao:branches:Base:System
- Update to version: 0.9.5+git20200921+20778f2:
  boot-server: Handle client disconnecting while trigger pending
  boot-server: Ref count the connections
  drm: Honor modes selected by the user through video= kernel cmdline argument
  use resolution of higher res monitor for window size
  autogoo: use /proc/self/fd/0 instead of /dev/stdin
  main: Don't bail out of load_settings if "Theme" is missing
  main: switch log file when switching mode
  main: fix mode changing before splash is shown
  two-step: Center message text within labels if labels are centered
  drm/kms probe speedups
  drm: Do not unnecessarily get output info twice
  ply-device-manager: Only consume one udev event at a time
  two-step: Do not jump to end-animation on halt/reboot if it is disabled
  two-step: Add UseEndAnimation setting
  script: add Image.Crop(x, y, width, height)
  ply-throbber: Do not redraw when we need to stop throbbing on free
  ply-keymap-icon: Do not draw on free
  ply-capslock-icon: Do not draw on free
  script: add missing unref() for system update func
  themes: Drop UseFirmwareBackground=true from spinner/bgrt firmware-upgrade settings
  Fix SetSystemUpdateFunction
  event-loop: Remove ply_trace calls around the disconnect handler
  ply-terminal-session: Not use grantpt when the system shut down. to avoid system hung up.
  build-goo: Remove vestigial remnants of old GDM integration code.

OBS-URL: https://build.opensuse.org/request/show/840078
OBS-URL: https://build.opensuse.org/package/show/Base:System/plymouth?expand=0&rev=273
2020-10-07 15:12:36 +00:00

20 lines
1014 B
Diff

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