MCPcopy Index your code
hub / github.com/archlinux/archinstall / _log_sys_info

Function _log_sys_info

archinstall/main.py:26–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

24
25
26def _log_sys_info() -> None:
27 # Log various information about hardware before starting the installation. This might assist in troubleshooting
28 debug(f'Hardware model detected: {SysInfo.sys_vendor()} {SysInfo.product_name()}; UEFI mode: {SysInfo.has_uefi()}')
29 debug(f'Processor model detected: {SysInfo.cpu_model()}')
30 debug(f'Memory statistics: {SysInfo.mem_available()} available out of {SysInfo.mem_total()} total installed')
31 debug(f'Virtualization detected: {SysInfo.virtualization()}; is VM: {SysInfo.is_vm()}')
32 debug(f'Graphics devices detected: {SysInfo._graphics_devices().keys()}')
33
34 # For support reasons, we'll log the disk layout pre installation to match against post-installation layout
35 debug(f'Disk states before installing:\n{disk_layouts()}')
36
37
38def _check_online(wifi_handler: WifiHandler | None = None) -> bool:

Callers 1

runFunction · 0.85

Calls 11

debugFunction · 0.90
disk_layoutsFunction · 0.90
sys_vendorMethod · 0.80
product_nameMethod · 0.80
has_uefiMethod · 0.80
cpu_modelMethod · 0.80
mem_availableMethod · 0.80
mem_totalMethod · 0.80
virtualizationMethod · 0.80
is_vmMethod · 0.80
_graphics_devicesMethod · 0.80

Tested by

no test coverage detected