Ensure we set the right plymouth theme when building the image

merge-requests/1/head
Matthias Klumpp 8 years ago
parent 7fd20a5f0d
commit c741725f38

@ -3,13 +3,10 @@ set -e
if [ -e /usr/sbin/plymouth-set-default-theme ] if [ -e /usr/sbin/plymouth-set-default-theme ]
then then
if [ -e /usr/share/plymouth/themes/pureos-logo/pureos-logo.plymouth ] if [ -e /usr/share/plymouth/themes/pureos/pureos.plymouth ]
then then
# likely a GUI configuration, we want the nice PureOS splash # likely a GUI configuration, we want the nice PureOS splash
plymouth-set-default-theme pureos-logo plymouth-set-default-theme pureos
else
# likely a server/non-gui setup. We want to be verbose and show details.
plymouth-set-default-theme details
fi fi
/usr/sbin/update-initramfs -u /usr/sbin/update-initramfs -u
fi fi

Loading…
Cancel
Save