Add GUI progress bar and improve systemd-boot installation reliability

This commit is contained in:
2026-02-10 15:23:19 +01:00
parent 752b6ddb60
commit ff0760b772
2 changed files with 34 additions and 1 deletions

View File

@@ -284,7 +284,8 @@ def configure_system(mount_root, partition_info, user_info=None, disk_device=Non
f.write("bls\n")
# Initialize systemd-boot
run_command(["chroot", mount_root, "bootctl", "install", "--path=/boot"])
# We use --force to overwrite any existing entries and ensure it's the primary bootloader
run_command(["chroot", mount_root, "bootctl", "install", "--path=/boot", "--force"])
# Sync kernels and generate BLS entries
# Since we rsync'd, kernels are in /lib/modules and /boot