Your message dated Tue, 13 May 2025 09:04:21 +0000
with message-id <e1uelyj-009s6m...@fasolo.debian.org>
and subject line Bug#1093517: fixed in plymouth 24.004.60-3
has caused the Debian Bug report #1093517,
regarding Fix support for text output when using dracut
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1093517: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1093517
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: plymouth
Version: 24.004.60-2
Tags: patch upstream
Forwarded: https://gitlab.freedesktop.org/plymouth/plymouth/-/merge_requests/340
Plymouth has an initramfs-tools hook [1] which will (among other things)
install the "label-pango.so" module. There's also a separate hook [2] which is
used by dracut(-ng) [3][4], which will "not" install "label-pango.so" (though
it will install "label-freetype.so").
That means that there's no text output possible from e.g. "emerald" (Debians
default theme from the desktop-base package) when doing things like unlocking
encrypted volumes during boot.
A simple fix for now is to always include "label-pango.so" together with
"label-freetype.so" (if found), patch attached.
[1]
https://salsa.debian.org/debian/plymouth/-/blob/debian/debian/local/plymouth.hook
[2]
https://salsa.debian.org/debian/plymouth/-/blob/debian/scripts/plymouth-populate-initrd.in
[3]
https://salsa.debian.org/debian/dracut/-/blob/master/modules.d/50plymouth/module-setup.sh
[4]
https://github.com/dracut-ng/dracut-ng/blob/cf676056df694b6957ada08ab091023002c42c76/modules.d/45plymouth/module-setup.sh#L39
From 62fda295c618a06bb809c9b3f419aad36d7df24b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20H=C3=A4rdeman?= <da...@hardeman.nu>
Date: Sun, 19 Jan 2025 11:47:28 +0100
Subject: [PATCH] scripts: include label-pango.so in initrd
Debians dracut package uses plymouth-populate-initrd to include plymouth
in the built initrd. However, the label-pango.so module won't be
included by that script, meaning that prompts won't show any text labels
for the default theme on Debian (emerald, from the desktop-base
package, the reason this isn't a bigger issue is that Debian defaults to
using initramfs-tools, and not dracut).
Including label-pango.so in addition to label-freetype.so fixes that and
shouldn't have any ill effects on other platforms.
---
scripts/plymouth-populate-initrd.in | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
diff --git a/scripts/plymouth-populate-initrd.in b/scripts/plymouth-populate-initrd.in
index 20614a22..47f77173 100755
--- a/scripts/plymouth-populate-initrd.in
+++ b/scripts/plymouth-populate-initrd.in
@@ -601,12 +601,19 @@ DEFAULT_FONT=$(fc-match -f %{file} 2> /dev/null)
DEFAULT_MONOSPACE_FONT=$(fc-match -f %{file} monospace 2> /dev/null)
[ ! -z "$DEFAULT_MONOSPACE_FONT" ] && inst "$DEFAULT_MONOSPACE_FONT" $INITRDDIR
-if [ -f "${PLYMOUTH_PLUGIN_PATH}/label-freetype.so" ]; then
- inst ${PLYMOUTH_PLUGIN_PATH}/label-freetype.so $INITRDDIR
- # The label-freetype plugin expects it at this location
- mkdir -p $INITRDDIR/usr/share/fonts
- [ ! -z "$DEFAULT_FONT" ] && ln -s "$DEFAULT_FONT" $INITRDDIR/usr/share/fonts/Plymouth.ttf
- [ ! -z "$DEFAULT_MONOSPACE_FONT" ] && ln -s "$DEFAULT_MONOSPACE_FONT" $INITRDDIR/usr/share/fonts/Plymouth-monospace.ttf
+if [ -f "${PLYMOUTH_PLUGIN_PATH}/label-freetype.so" ] || [ -f "${PLYMOUTH_PLUGIN_PATH}/label-pango.so" ]; then
+ if [ -f "${PLYMOUTH_PLUGIN_PATH}/label-freetype.so" ]; then
+ inst ${PLYMOUTH_PLUGIN_PATH}/label-freetype.so $INITRDDIR
+ fi
+
+ if [ -f "${PLYMOUTH_PLUGIN_PATH}/label-pango.so" ]; then
+ inst ${PLYMOUTH_PLUGIN_PATH}/label-pango.so $INITRDDIR
+ fi
+
+ # The label-freetype plugin expects it at this location
+ mkdir -p $INITRDDIR/usr/share/fonts
+ [ ! -z "$DEFAULT_FONT" ] && ln -s "$DEFAULT_FONT" $INITRDDIR/usr/share/fonts/Plymouth.ttf
+ [ ! -z "$DEFAULT_MONOSPACE_FONT" ] && ln -s "$DEFAULT_MONOSPACE_FONT" $INITRDDIR/usr/share/fonts/Plymouth-monospace.ttf
fi
if [ -L ${PLYMOUTH_SYSROOT}${PLYMOUTH_DATADIR}/plymouth/themes/default.plymouth ]; then
--
2.47.1
--- End Message ---
--- Begin Message ---
Source: plymouth
Source-Version: 24.004.60-3
Done: Laurent Bigonville <bi...@debian.org>
We believe that the bug you reported is fixed in the latest version of
plymouth, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1093...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Laurent Bigonville <bi...@debian.org> (supplier of updated plymouth package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 13 May 2025 10:30:17 +0200
Source: plymouth
Architecture: source
Version: 24.004.60-3
Distribution: unstable
Urgency: medium
Maintainer: Laurent Bigonville <bi...@debian.org>
Changed-By: Laurent Bigonville <bi...@debian.org>
Closes: 1093517
Changes:
plymouth (24.004.60-3) unstable; urgency=medium
.
* d/p/0003-default-theme.patch: Use ceratopsian theme
* d/l/plymouth.hook: Install Cantarell variable font file if available
* Fix fallback not working when fc-match isn't available (Closes: #1093517)
* d/local/plymouth.hook: Install the default/fallback fonts
Checksums-Sha1:
79e2c4ac5dc4f4ffad85629831fe57a34be8ec00 2108 plymouth_24.004.60-3.dsc
85a4ea3c87a1bcef941a49805f709f69a6b872ea 31240
plymouth_24.004.60-3.debian.tar.xz
a379d453b0e839eddf7decc39d4936266c2bfabc 6144
plymouth_24.004.60-3_source.buildinfo
Checksums-Sha256:
0f91becdec36f6bdf75fa0c8306ac333e441551582ef46c7f9b3c837804e1f37 2108
plymouth_24.004.60-3.dsc
3ee9a1cf5ee46e8b5de0896157e4f41a1436893a587e3dcd381a4dd6c7d147d9 31240
plymouth_24.004.60-3.debian.tar.xz
a1b11c4796aa515034a2db48ac6f251215cfab403b66596d55e9df5f22cce2eb 6144
plymouth_24.004.60-3_source.buildinfo
Files:
b9f35db09640ae94a56817527f5f1d28 2108 misc optional plymouth_24.004.60-3.dsc
70be3588fff130a5adb9a5108f9f3e22 31240 misc optional
plymouth_24.004.60-3.debian.tar.xz
464a7aca9601852cdf79c08ae55a5757 6144 misc optional
plymouth_24.004.60-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQFFBAEBCgAvFiEEmRrdqQAhuF2x31DwH8WJHrqwQ9UFAmgjBVARHGJpZ29uQGRl
Ymlhbi5vcmcACgkQH8WJHrqwQ9X1NAf+NGXkopMQFDglJnYJiRf2BJ5fNGQVCZzX
f4fy1MHjwOJOv/gPMJw9F4SfbZpwnyaodHbSa7DlGr2DFTYF78qJ3Lbq4b+AwDgK
SLgVZEg6v0U9lqSrpZFcL0ecZlBbdpSCwovsL32M4eCCJyzFncrBvD/Z5YvDMgNc
qUPMQsxpCwwmNpCQPy10FeI6mbmGD8N67JB1sQkxiAv/2ergvJ0iEfFEF39thJn8
CJ7S6aljJfGB1a7c62jvBHSr9dA00PFb6QR5I5Bqi1XvDRtFEPOInbnjEOzNatgt
ez33RRCGVc8+VOvrz9eYi6jVs2987azJEqIaz/O414lbImLzl5B4vg==
=ukFF
-----END PGP SIGNATURE-----
pgpcuQ8xRYHik.pgp
Description: PGP signature
--- End Message ---