fix flags

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2024-01-04 15:10:46 +03:00 committed by GitHub
parent cbebb84038
commit 5a277e90d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -151,10 +151,13 @@ elif args.home is not None:
squashfs_cmd = ['unsquashfs', '-f', '-d', listToString(args.root), image]
subprocess.run(squashfs_cmd)
## Enable bls_boot on EFI partiton
efi_flag_cmd = ['/usr/lib/pika/pikainstall/partition-helper.sh', 'flag', listToString(args.efi), 'bls_boot', 'on']
subprocess.run(efi_flag_cmd)
## Enable bls_boot on boot partiton
boot_flag_cmd = ['/usr/lib/pika/pikainstall/partition-helper.sh', 'flag', listToString(args.boot), 'bls_boot', 'on']
subprocess.run(boot_flag_cmd)
## Enable esp on EFI partiton
efi_flag_cmd = ['/usr/lib/pika/pikainstall/partition-helper.sh', 'flag', listToString(args.efi), 'esp', 'on']
subprocess.run(efi_flag_cmd)
CHROOT_PATH = listToString(args.root)