plymouth service: style fixes

This commit is contained in:
Nikolay Amiantov 2016-07-18 13:42:26 +03:00
parent 86ad25625f
commit 9cab592abd

View File

@ -112,6 +112,7 @@ in
sed -i '/loginctl/d' $out/71-seat.rules sed -i '/loginctl/d' $out/71-seat.rules
''; '';
# We use `mkAfter` to ensure that LUKS password prompt would be shown earlier than the splash screen.
boot.initrd.preLVMCommands = mkAfter '' boot.initrd.preLVMCommands = mkAfter ''
mkdir -p /etc/plymouth mkdir -p /etc/plymouth
ln -s ${configFile} /etc/plymouth/plymouthd.conf ln -s ${configFile} /etc/plymouth/plymouthd.conf
@ -121,7 +122,7 @@ in
ln -s $extraUtils/lib/plymouth /etc/plymouth/plugins ln -s $extraUtils/lib/plymouth /etc/plymouth/plugins
plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session
plymouth --show-splash plymouth show-splash
''; '';
}; };