Fix typos in comments (#4107)
Typos found with codespell. No functional change.
This commit is contained in:
parent
d07a9b4a92
commit
e0c1b869a6
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
|
|
|||
|
|
@ -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')
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue