]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90plymouth: logo file is optional and may not exist
authorDaniel Molkentin <dmolkentin@suse.com>
Fri, 19 Jan 2018 20:01:41 +0000 (21:01 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Tue, 30 Jan 2018 09:14:22 +0000 (10:14 +0100)
modules.d/50plymouth/plymouth-populate-initrd.sh

index 6c184ac95c5078e05923983adbf397eb6a8ce55a..e3e0155f6daa94618fc43401110949727da17241 100755 (executable)
@@ -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"