Skip to content

Commit

Permalink
installer: enable plymouth splash using late_command in preseed file
Browse files Browse the repository at this point in the history
- adding a custom /etc/default/grub in the chroot breaks unattended installation (conffile conflict resolution)
- add the "splash" boot option as late as possible during installation, update grbu configuration in target
- https://unix.stackexchange.com/questions/438901/reconfigure-grub-in-preseed-late-command
- fixes #87
  • Loading branch information
nodiscc committed Oct 25, 2021
1 parent 2cb2685 commit 8c15351
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/includes.installer/preseed.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -481,6 +481,9 @@ d-i finish-install/reboot_in_progress note
# directly, or use the apt-install and in-target commands to easily install
# packages and run commands in the target system.
#d-i preseed/late_command string apt-install zsh; in-target chsh -s /bin/zsh
d-i preseed/late_command string \
in-target sed -i 's/GRUB_CMDLINE_LINUX_DEFAULT="quiet"/GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"/'; \
in-target grub-mkconfig -o /boot/grub/grub.cfg

# By default, the system's locate database will be updated after the
# installer has finished installing most packages. This may take a while, so
Expand Down

0 comments on commit 8c15351

Please sign in to comment.