diff -Nru plymouth-0.9.5git20210406/debian/changelog plymouth-0.9.5git20210406/debian/changelog --- plymouth-0.9.5git20210406/debian/changelog 2021-08-31 15:01:18.000000000 +0800 +++ plymouth-0.9.5git20210406/debian/changelog 2021-09-15 17:24:22.000000000 +0800 @@ -1,3 +1,12 @@ +plymouth (0.9.5git20210406-0ubuntu2) impish; urgency=medium + + * Add plymouth-switch-root-initramfs-Preload-text-renderin.patch to + preload all the graphics libraries required by plymouthd before the + switch occurs. So now casper can render text even from within the + initramfs regardless of library dependencies (LP: #1942987). + + -- Daniel van Vugt Wed, 15 Sep 2021 17:24:22 +0800 + plymouth (0.9.5git20210406-0ubuntu1) impish; urgency=medium * New upstream snapshot 20210406 (commit e55447500fa9) taken on diff -Nru plymouth-0.9.5git20210406/debian/patches/plymouth-switch-root-initramfs-Preload-text-renderin.patch plymouth-0.9.5git20210406/debian/patches/plymouth-switch-root-initramfs-Preload-text-renderin.patch --- plymouth-0.9.5git20210406/debian/patches/plymouth-switch-root-initramfs-Preload-text-renderin.patch 1970-01-01 08:00:00.000000000 +0800 +++ plymouth-0.9.5git20210406/debian/patches/plymouth-switch-root-initramfs-Preload-text-renderin.patch 2021-09-15 17:24:22.000000000 +0800 @@ -0,0 +1,32 @@ +From f311eafc7b769d0097d3f9812bea5540c0dbbc19 Mon Sep 17 00:00:00 2001 +From: Daniel van Vugt +Date: Wed, 15 Sep 2021 17:32:52 +0800 +Subject: [PATCH] plymouth-switch-root-initramfs: Preload text rendering libs + before switching + +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1942987 +Forwarded: not-needed +Last-Update: 2021-09-15 +--- + systemd-units/plymouth-switch-root-initramfs.service.in | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/systemd-units/plymouth-switch-root-initramfs.service.in b/systemd-units/plymouth-switch-root-initramfs.service.in +index 0610803c..311b6ccf 100644 +--- a/systemd-units/plymouth-switch-root-initramfs.service.in ++++ b/systemd-units/plymouth-switch-root-initramfs.service.in +@@ -10,6 +10,11 @@ ConditionPathExists=/run/initramfs/bin/sh + [Service] + Type=oneshot + RemainAfterExit=yes ++# Emit a blank message to force a dynamic load of all graphics libraries ++# required for rendering text since it's a non-trivially large set, too large ++# to manage manually in the initramfs. This will allow casper to render text ++# like the live media ejection message after the jump... ++ExecStart=-@PLYMOUTH_CLIENT_DIR@/plymouth message --text="" + ExecStart=-@PLYMOUTH_CLIENT_DIR@/plymouth update-root-fs --new-root-dir=/run/initramfs + Type=oneshot + RemainAfterExit=yes +-- +2.32.0 + diff -Nru plymouth-0.9.5git20210406/debian/patches/series plymouth-0.9.5git20210406/debian/patches/series --- plymouth-0.9.5git20210406/debian/patches/series 2021-08-31 15:01:18.000000000 +0800 +++ plymouth-0.9.5git20210406/debian/patches/series 2021-09-15 17:24:22.000000000 +0800 @@ -10,9 +10,8 @@ ubuntu-default-devicetimeout.patch ubuntu-spinner-style.patch ubuntu-spinner-fsck.patch +plymouth-switch-root-initramfs-Preload-text-renderin.patch # Ubuntu themes ubuntu-logo.patch ubuntu-text.patch - -