Open teackot opened 3 months ago
After a closer inspection:
tpm2-totp
dracut module. Now I can see the codes, but only in the console if I press <Esc>
in plymouth.label.so
file from plymouth-plugin-label. However, it seems to have been split into two files in plymouth 23.356.9: label-freetype.so
and label-pango.so
(see this commit). Symlinking label-pango.so
to label.so
solves the problem.There is also a redundant slash in /lib/dracut/modules.d/70tpm2-totp/module-setup.sh
:
inst_library /usr/lib64/plymouth//label.so
So, plymouth is using label-freetype.so on their initcpio hooks. So, I think that symlinking label-pango.so to label.so isn't the right approach.
The code isn't shown in plymouth on boot on Fedora 40. I couldn't find any relevant info in the logs
How to reproduce
Build and install the project
Regenerate initramfs
Setup totp
Verify that the code is correct
Reboot