Add GUI progress bar and improve systemd-boot installation reliability
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user