From: Laszlo Gombos Date: Wed, 1 Feb 2023 02:20:23 +0000 (+0000) Subject: fix(plymouth): remove /etc/system-release dependency X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=d6cef3f28e15a834284786c79f108b7c42481f96;p=thirdparty%2Fdracut.git fix(plymouth): remove /etc/system-release dependency /etc/*release files should not be managed in the plymouth module and more importantly dracut assumes /etc/os-release not /etc/system-release --- diff --git a/modules.d/50plymouth/plymouth-populate-initrd.sh b/modules.d/50plymouth/plymouth-populate-initrd.sh index e36ed521d..7e3afdd8a 100755 --- a/modules.d/50plymouth/plymouth-populate-initrd.sh +++ b/modules.d/50plymouth/plymouth-populate-initrd.sh @@ -3,8 +3,7 @@ PLYMOUTH_LOGO_FILE="/usr/share/pixmaps/system-logo-white.png" PLYMOUTH_THEME=$(plymouth-set-default-theme) -inst_multiple plymouthd plymouth \ - /etc/system-release +inst_multiple plymouthd plymouth test -e "${PLYMOUTH_LOGO_FILE}" && inst_simple "${PLYMOUTH_LOGO_FILE}"