diff --git a/modules.d/50plymouth/plymouth-populate-initrd.sh b/modules.d/50plymouth/plymouth-populate-initrd.sh index 7ab1a5dc..1e2ffe7e 100755 --- a/modules.d/50plymouth/plymouth-populate-initrd.sh +++ b/modules.d/50plymouth/plymouth-populate-initrd.sh @@ -11,8 +11,9 @@ dracut_install /bin/plymouth \ mkdir -m 0755 -p "${initdir}/usr/share/plymouth" +inst_libdir_file "plymouth/text.so" "plymouth/details.so" + if [[ $hostonly ]]; then - inst_libdir_file "plymouth/text.so" "plymouth/details.so" dracut_install \ "/usr/share/plymouth/themes/details/details.plymouth" \ "/usr/share/plymouth/themes/text/text.plymouth" \ @@ -37,7 +38,6 @@ else mkdir -m 0755 -p "${initdir}/$THEME_DIR" dracut_install "$x" done - inst_libdir_file "/plymouth/{text,details}.so" ( cd ${initdir}/usr/share/plymouth/themes; ln -s text/text.plymouth default.plymouth 2>&1;