add splash screen support

This commit is contained in:
Penelope Gwen 2025-01-16 14:21:03 -08:00
parent edecd3be59
commit af2f093817

View file

@ -305,7 +305,7 @@ EOF
run_in_chroot "printf 'root:%s' \"${root_pass}\" | chpasswd"
run_in_chroot "useradd -c \"${user_realname}\" --shell /usr/bin/bash --groups sudo,pipewire,input,audio,video,render --create-home ${user_name}"
run_in_chroot "printf '%s:%s' \"${user_name}\" \"${user_pass}\" | chpasswd"
perl -i -pe 's/(GRUB_CMDLINE_LINUX_DEFAULT)="(.*)"/$1="$2 rd.luks.uuid='"${root_luks_uuid}"'"/' /target/etc/default/grub
perl -i -pe 's/(GRUB_CMDLINE_LINUX_DEFAULT)="(.*)"/$1="$2 splash rd.luks.uuid='"${root_luks_uuid}"'"/' /target/etc/default/grub
run_in_chroot "update-initramfs -c -k all"
run_in_chroot "update-grub && grub-install --root-directory / ${dest_dev}"