Skip to content

Commit

Permalink
Fix encryption debug message in _add_efistub_bootloader()
Browse files Browse the repository at this point in the history
  • Loading branch information
codefiles committed Aug 6, 2023
1 parent 81ef09c commit 800e10c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions archinstall/lib/installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -1056,10 +1056,10 @@ def _add_efistub_bootloader(
if root_partition in self._disk_encryption.partitions:
# TODO: We need to detect if the encrypted device is a whole disk encryption,
# or simply a partition encryption. Right now we assume it's a partition (and we always have)
debug(f'Identifying root partition by PARTUUID: {root_partition.partuuid}')
debug(f'Root partition is an encrypted device identifying by PARTUUID: {root_partition.partuuid}')
kernel_parameters.append(f'cryptdevice=PARTUUID={root_partition.partuuid}:luksdev root=/dev/mapper/luksdev rw rootfstype={root_partition.safe_fs_type.value} {" ".join(self._kernel_params)}')
else:
debug(f'Root partition is an encrypted device identifying by PARTUUID: {root_partition.partuuid}')
debug(f'Identifying root partition by PARTUUID: {root_partition.partuuid}')
kernel_parameters.append(f'root=PARTUUID={root_partition.partuuid} rw rootfstype={root_partition.safe_fs_type.value} {" ".join(self._kernel_params)}')

device = disk.device_handler.get_device_by_partition_path(boot_partition.safe_dev_path)
Expand Down

0 comments on commit 800e10c

Please sign in to comment.