Comment 5 for bug 1856712

Kim Nguyễn (kim.nguyen) wrote :

Hi,

after inspection upstream, it seems the bug is caused by the ubuntu/debian specific initramfs-tools hook in debian/local/plymouth.hook. The analysis is in comments
https://gitlab.freedesktop.org/plymouth/plymouth/issues/92#note_418076 and
https://gitlab.freedesktop.org/plymouth/plymouth/issues/92#note_418219 of the upstream issue (which is now closed).

To summarize, the ubuntu initramfs-hook does the following while copying a theme to the initramfs:

# copy plugin and images for current theme
 copy_exec "${MODULE}"
 cp -a "${THEMES}/${currtheme}" "${DESTDIR}/${THEMES}"

which misses directories that are not descendants of the ${currtheme} one. Plymouth upstream provides a script which does the right thing, maybe it's worth using.