From: Daniel Molkentin Date: Fri, 19 Jan 2018 20:01:41 +0000 (+0100) Subject: 90plymouth: logo file is optional and may not exist X-Git-Tag: 047~7 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ed2cc8c9b96438be4527dbc9f5814196554abec4;p=thirdparty%2Fdracut.git 90plymouth: logo file is optional and may not exist --- diff --git a/modules.d/50plymouth/plymouth-populate-initrd.sh b/modules.d/50plymouth/plymouth-populate-initrd.sh index 6c184ac95..e3e0155f6 100755 --- a/modules.d/50plymouth/plymouth-populate-initrd.sh +++ b/modules.d/50plymouth/plymouth-populate-initrd.sh @@ -4,9 +4,10 @@ PLYMOUTH_LOGO_FILE="/usr/share/pixmaps/system-logo-white.png" PLYMOUTH_THEME=$(plymouth-set-default-theme) inst_multiple plymouthd plymouth \ - "${PLYMOUTH_LOGO_FILE}" \ /etc/system-release +test -e "${PLYMOUTH_LOGO_FILE}" && inst_simple "${PLYMOUTH_LOGO_FILE}" + mkdir -m 0755 -p "${initdir}/usr/share/plymouth" inst_libdir_file "plymouth/text.so" "plymouth/details.so"