diff --git a/archinstall/lib/crypt.py b/archinstall/lib/crypt.py index 5e286287..46032b33 100644 --- a/archinstall/lib/crypt.py +++ b/archinstall/lib/crypt.py @@ -51,7 +51,7 @@ def crypt_yescrypt(plaintext: str) -> str: By default chpasswd in Arch uses PAM to hash the password with crypt_yescrypt the PAM code https://github.com/linux-pam/linux-pam/blob/master/modules/pam_unix/support.c shows that the hashing rounds are determined from YESCRYPT_COST_FACTOR in /etc/login.defs - If no value was specified (or commented out) a default of 5 is choosen + If no value was specified (or commented out) a default of 5 is chosen """ value = _search_login_defs('YESCRYPT_COST_FACTOR') if value is not None: diff --git a/archinstall/lib/installer.py b/archinstall/lib/installer.py index 1f16e0a6..65c8dabf 100644 --- a/archinstall/lib/installer.py +++ b/archinstall/lib/installer.py @@ -1066,7 +1066,7 @@ class Installer: debug(f'Configuring grub-btrfsd service for {snapshot_type} at {snapshot_path}') - # Works for either snapper or ts just adpating default paths above + # Works for either snapper or ts just adapting default paths above # https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#id-1.14.3 systemd_dir = self.target / 'etc/systemd/system/grub-btrfsd.service.d' systemd_dir.mkdir(parents=True, exist_ok=True) @@ -1271,7 +1271,7 @@ class Installer: try: # Force EFI variables since bootctl detects arch-chroot - # as a container environemnt since v257 and skips them silently. + # as a container environment since v257 and skips them silently. # https://github.com/systemd/systemd/issues/36174 if systemd_version >= '258': self.arch_chroot(f'bootctl --variables=yes {" ".join(bootctl_options)} install') diff --git a/archinstall/lib/models/network.py b/archinstall/lib/models/network.py index 69acc068..e674e609 100644 --- a/archinstall/lib/models/network.py +++ b/archinstall/lib/models/network.py @@ -153,7 +153,7 @@ class NetworkConfiguration: case NicType.NM | NicType.NM_IWD: # Install NetworkManager package for both cases packages = ['networkmanager'] - # Defautl back-end only for non-iwd + # Default back-end only for non-iwd if self.type == NicType.NM: packages.append('wpa_supplicant') diff --git a/archinstall/tui/menu_item.py b/archinstall/tui/menu_item.py index 52d5ad51..5b43ff20 100644 --- a/archinstall/tui/menu_item.py +++ b/archinstall/tui/menu_item.py @@ -429,7 +429,7 @@ class MenuItemsState: else: start = focus_row_idx end = focus_row_idx + self._total_rows - elif len(enabled_items) <= self._total_rows: # the view can handle oll items + elif len(enabled_items) <= self._total_rows: # the view can handle all items start = 0 end = self._total_rows elif not self._item_group.has_filter() and focus_row_idx in self._prev_visible_rows: # focus is in the same view