MCPcopy Create free account
hub / github.com/archlinux/archinstall / mount_ordered_layout

Method mount_ordered_layout

archinstall/lib/installer.py:261–282  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

259 self._verify_service_stop(offline, skip_ntp, skip_wkd)
260
261 def mount_ordered_layout(self) -> None:
262 debug('Mounting ordered layout')
263
264 luks_handlers: dict[Any, Luks2] = {}
265
266 match self._disk_encryption.encryption_type:
267 case EncryptionType.NO_ENCRYPTION:
268 self._import_lvm()
269 self._mount_lvm_layout()
270 case EncryptionType.LUKS:
271 luks_handlers = self._prepare_luks_partitions(self._disk_encryption.partitions)
272 case EncryptionType.LVM_ON_LUKS:
273 luks_handlers = self._prepare_luks_partitions(self._disk_encryption.partitions)
274 self._import_lvm()
275 self._mount_lvm_layout(luks_handlers)
276 case EncryptionType.LUKS_ON_LVM:
277 self._import_lvm()
278 luks_handlers = self._prepare_luks_lvm(self._disk_encryption.lvm_volumes)
279 self._mount_lvm_layout(luks_handlers)
280
281 # mount all regular partitions
282 self._mount_partition_layout(luks_handlers)
283
284 def _mount_partition_layout(self, luks_handlers: dict[Any, Luks2]) -> None:
285 debug('Mounting partition layout')

Callers 7

perform_installationFunction · 0.80
perform_installationFunction · 0.80
perform_installationFunction · 0.80
perform_installationFunction · 0.80
perform_installationFunction · 0.80
perform_installationFunction · 0.80

Calls 6

_import_lvmMethod · 0.95
_mount_lvm_layoutMethod · 0.95
_prepare_luks_lvmMethod · 0.95
debugFunction · 0.90

Tested by

no test coverage detected