diff --git a/debian/control b/debian/control index 9ab665ed..34e7827b 100644 --- a/debian/control +++ b/debian/control @@ -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) diff --git a/debian/kali-themes.postinst b/debian/kali-themes.postinst index 7e7fb22c..0e4b26b6 100644 --- a/debian/kali-themes.postinst +++ b/debian/kali-themes.postinst @@ -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# diff --git a/etc/default/grub.d/kali-themes.conf b/etc/default/grub.d/kali-themes.conf index 99c61ff9..86814eb6 100644 --- a/etc/default/grub.d/kali-themes.conf +++ b/etc/default/grub.d/kali-themes.conf @@ -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