Enable plymouth by default

This commit is contained in:
Raphaël Hertzog 2019-11-06 23:27:02 +01:00
parent 9611930fa5
commit aa488a0a36
3 changed files with 8 additions and 0 deletions

2
debian/control vendored
View File

@ -44,6 +44,8 @@ Depends: kali-themes-common (= ${source:Version}),
gtk2-engines-murrine,
# Needed for QT_QPA_PLATFORMTHEME=gtk2 to have an effect
qt5-style-plugins,
# For boot-time splash screen
plymouth-label,
${misc:Depends}
Breaks: kali-defaults (<< 2019.4.0)
Replaces: kali-defaults (<< 2019.4.0)

View File

@ -48,6 +48,8 @@ if [ "$1" = "configure" ]; then
# Install remaining new files
install_all
fi
# Rebuild the grub configuration with our config changes
update-grub || true
fi
#DEBHELPER#

View File

@ -1,3 +1,7 @@
# Try to force a 16x9 mode first, then 16x10, then default
GRUB_GFXMODE="1920x1080,1280x720,1280x800,auto"
GRUB_THEME="/boot/grub/themes/kali/theme.txt"
# Add splash option to enable plymouth
if ! echo "$GRUB_CMDLINE_LINUX_DEFAULT" | grep -q splash; then
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT splash"
fi