As suggested on Red Hat Bugzilla, a configuration file could be set for the deleting the text on the Plymouth/LUKS screen.
Here is a step-by-step summary to ask for confirmation of someone more experienced than me than the correctness of all the steps:
-
sudo touch /etc/plymouth/plymouth-populate-initrd.conf
-
sudo nano /etc/plymouth/plymouth-populate-initrd.conf
-
Insert the following content into the configuration file just created…
PLYMOUTH_DISABLE_LABEL_FREETYPE=1
-
Save the file (Ctrl+O) and close it (Ctrl+X)
-
Change the plymouth-populate-initrd script to let it read the new configuration variable…
sudo nano /usr/libexec/plymouth/plymouth-populate-initrd
-
Add the code to read the configuration file at the beginning of the script, after the first lines of comment…
# Source configuration file if it exists
if [ -f "/etc/plymouth/plymouth-populate-initrd.conf" ]; then
. /etc/plymouth/plymouth-populate-initrd.conf
fi
- Find the corresponding code block and change the condition that includes
label-freedype.so
…
if [ -f "${PLYMOUTH_PLUGIN_PATH}/label-freetype.so" ] && [ "$PLYMOUTH_DISABLE_LABEL_FREETYPE" != "1" ]; 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
fi
-
Regenerate the initramfs…
sudo dracut --force
-
Reboot
This solution should completely disable the label-freedype.so module, which is responsible for viewing the text on the plymouth screen. After applying these changes, you should no longer see the text during the unlocking prompt of the encrypted disc. But I need to have confirmation of this.
Furtheremore, are these changes updates-resistant?