Fix misspellings (#2306)

This commit is contained in:
Rafael Fontenelle 2024-03-07 09:19:44 -03:00 committed by GitHub
parent 98f2431728
commit 0d5e1cf752
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 17 additions and 17 deletions

View File

@ -84,7 +84,7 @@ def define_arguments():
parser.add_argument("--script", default="guided", nargs="?", help="Script to run for installation", type=str) parser.add_argument("--script", default="guided", nargs="?", help="Script to run for installation", type=str)
parser.add_argument("--mount-point", "--mount_point", nargs="?", type=str, parser.add_argument("--mount-point", "--mount_point", nargs="?", type=str,
help="Define an alternate mount point for installation") help="Define an alternate mount point for installation")
parser.add_argument("--skip-ntp", action="store_true", help="Disables NTP checks during instalation", default=False) parser.add_argument("--skip-ntp", action="store_true", help="Disables NTP checks during installation", default=False)
parser.add_argument("--debug", action="store_true", default=False, help="Adds debug info into the log") parser.add_argument("--debug", action="store_true", default=False, help="Adds debug info into the log")
parser.add_argument("--offline", action="store_true", default=False, parser.add_argument("--offline", action="store_true", default=False,
help="Disabled online upstream services such as package search and key-ring auto update.") help="Disabled online upstream services such as package search and key-ring auto update.")

View File

@ -148,7 +148,7 @@ class Installer:
if not _notified and time.time() - _started_wait > 5: if not _notified and time.time() - _started_wait > 5:
_notified = True _notified = True
warn( warn(
_("Time syncronization not completing, while you wait - check the docs for workarounds: https://archinstall.readthedocs.io/")) _("Time synchronization not completing, while you wait - check the docs for workarounds: https://archinstall.readthedocs.io/"))
time_val = SysCommand('timedatectl show --property=NTPSynchronized --value').decode() time_val = SysCommand('timedatectl show --property=NTPSynchronized --value').decode()
if time_val and time_val.strip() == 'yes': if time_val and time_val.strip() == 'yes':

View File

@ -308,7 +308,7 @@ def suggest_single_disk_layout(
root_partition.btrfs_subvols = subvolumes root_partition.btrfs_subvols = subvolumes
elif using_home_partition: elif using_home_partition:
# If we don't want to use subvolumes, # If we don't want to use subvolumes,
# But we want to be able to re-use data between re-installs.. # But we want to be able to reuse data between re-installs..
# A second partition for /home would be nice if we have the space for it # A second partition for /home would be nice if we have the space for it
home_start = root_partition.length home_start = root_partition.length
home_length = device.device_info.total_size - root_partition.length home_length = device.device_info.total_size - root_partition.length

View File

@ -344,7 +344,7 @@ class AbstractMenu:
value = value.strip() value = value.strip()
# if this calls returns false, we exit the menu # if this calls returns false, we exit the menu
# we allow for an callback for special processing on realeasing control # we allow for an callback for special processing on releasing control
if not self._process_selection(value): if not self._process_selection(value):
break break

View File

@ -5,8 +5,8 @@ audio_config,`pipewire <https://wiki.archlinux.org/title/PipeWire>`_!, `pulseaud
bootloader,`Systemd-boot <https://wiki.archlinux.org/title/Systemd-boot>`_!, `grub <https://wiki.archlinux.org/title/GRUB>`_,Bootloader to be installed *(grub being mandatory on BIOS machines)*,Yes bootloader,`Systemd-boot <https://wiki.archlinux.org/title/Systemd-boot>`_!, `grub <https://wiki.archlinux.org/title/GRUB>`_,Bootloader to be installed *(grub being mandatory on BIOS machines)*,Yes
debug,``true``!, ``false``,Enables debug output,No debug,``true``!, ``false``,Enables debug output,No
disk_config,*Read more under* :ref:`disk config`,Contains the desired disk setup to be used during installation,No disk_config,*Read more under* :ref:`disk config`,Contains the desired disk setup to be used during installation,No
disk_encryption,*Read more about under* :ref:`disk encryption`,Parameters for disk encryption applied ontop of ``disk_config``,No disk_encryption,*Read more about under* :ref:`disk encryption`,Parameters for disk encryption applied on top of ``disk_config``,No
hostname,``str``,A string definining your machines hostname on the network *(defaults to ``archinstall``)*,No hostname,``str``,A string defining your machines hostname on the network *(defaults to ``archinstall``)*,No
kernels,[ `linux <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-hardened <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-lts <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-rt <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-rt-lts <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-zen <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_ ],Defines which kernels should be installed and setup in the boot loader options,Yes kernels,[ `linux <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-hardened <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-lts <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-rt <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-rt-lts <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_!, `linux-zen <https://wiki.archlinux.org/title/Kernel#Officially_supported_kernels>`_ ],Defines which kernels should be installed and setup in the boot loader options,Yes
custom-commands,*Read more under* :ref:`custom commands`,Custom commands that will be run post-install chrooted inside the installed system,No custom-commands,*Read more under* :ref:`custom commands`,Custom commands that will be run post-install chrooted inside the installed system,No
locale_config,{kb_layout: `lang <https://wiki.archlinux.org/title/Linux_console/Keyboard_configuration>`__!, sys_enc: `Character encoding <https://wiki.archlinux.org/title/Locale>`_!, sys_lang: `locale <https://wiki.archlinux.org/title/Locale>`_},Defines the keyboard key map!, system encoding and system locale,No locale_config,{kb_layout: `lang <https://wiki.archlinux.org/title/Linux_console/Keyboard_configuration>`__!, sys_enc: `Character encoding <https://wiki.archlinux.org/title/Locale>`_!, sys_lang: `locale <https://wiki.archlinux.org/title/Locale>`_},Defines the keyboard key map!, system encoding and system locale,No
@ -16,9 +16,9 @@ no_pkg_lookups,``true``!, ``false``,Disabled package checking against https://ar
ntp,``true``!, ``false``,enables or disables `NTP <https://wiki.archlinux.org/title/Network_Time_Protocol_daemon>`_ during installation,No ntp,``true``!, ``false``,enables or disables `NTP <https://wiki.archlinux.org/title/Network_Time_Protocol_daemon>`_ during installation,No
offline,``true``!, ``false``,enables or disables certain online checks such as mirror reachability etc,No offline,``true``!, ``false``,enables or disables certain online checks such as mirror reachability etc,No
packages,[ <package1>!, <package2>!, ... ],A list of packages to install during installation,No packages,[ <package1>!, <package2>!, ... ],A list of packages to install during installation,No
parallel downloads,0-∞,sets a given number of paralell downloads to be used by `pacman <https://wiki.archlinux.org/title/Pacman#Enabling_parallel_downloads>`_,No parallel downloads,0-∞,sets a given number of parallel downloads to be used by `pacman <https://wiki.archlinux.org/title/Pacman#Enabling_parallel_downloads>`_,No
profile_config,*`read more under the profiles section`*,Installs a given profile if defined,No profile_config,*`read more under the profiles section`*,Installs a given profile if defined,No
script,`guided <https://github.com/archlinux/archinstall/blob/master/archinstall/scripts/guided.py>`__! *(default)*!, `minimal <https://github.com/archlinux/archinstall/blob/master/archinstall/scripts/minimal.py>`__!, `only_hdd <https://github.com/archlinux/archinstall/blob/master/archinstall/scripts/only_hdd.py>`_!, `swiss <https://github.com/archlinux/archinstall/blob/master/archinstall/scripts/swiss.py>`_!, `unattended <https://github.com/archlinux/archinstall/blob/master/archinstall/scripts/unattended.py>`_,When used to autorun an installation!, this sets which script to autorun with,No script,`guided <https://github.com/archlinux/archinstall/blob/master/archinstall/scripts/guided.py>`__! *(default)*!, `minimal <https://github.com/archlinux/archinstall/blob/master/archinstall/scripts/minimal.py>`__!, `only_hdd <https://github.com/archlinux/archinstall/blob/master/archinstall/scripts/only_hdd.py>`_!, `swiss <https://github.com/archlinux/archinstall/blob/master/archinstall/scripts/swiss.py>`_!, `unattended <https://github.com/archlinux/archinstall/blob/master/archinstall/scripts/unattended.py>`_,When used to autorun an installation!, this sets which script to autorun with,No
silent,``true``!, ``false``,disables or enables user questions using the TUI,No silent,``true``!, ``false``,disables or enables user questions using the TUI,No
swap,``true``!, ``false``,enables or disables swap,No swap,``true``!, ``false``,enables or disables swap,No
timezone,`timezone <https://wiki.archlinux.org/title/System_time#Time_zone>`_,sets a timezone for the installed system,No timezone,`timezone <https://wiki.archlinux.org/title/System_time#Time_zone>`_,sets a timezone for the installed system,No

Can't render this file because it contains an unexpected character in line 13 and column 68.

View File

@ -26,7 +26,7 @@ Given the following disk example:
├── boot (/dev/sda1) ├── boot (/dev/sda1)
└── home (/dev/sda3) └── home (/dev/sda3)
Runing ``archinstall --conf your.json --silent`` where the above JSON is configured. The disk will be left alone — and a working system will be installed to the above folders and mountpoints will be translated into the installed system. Running ``archinstall --conf your.json --silent`` where the above JSON is configured. The disk will be left alone — and a working system will be installed to the above folders and mountpoints will be translated into the installed system.
.. note:: .. note::
@ -242,4 +242,4 @@ This example contains both subvolumes and compression.
}, },
"status": "create", "status": "create",
"type": "primary" "type": "primary"
} }

View File

@ -38,7 +38,7 @@ To do this, we'll begin by importing :code:`archinstall` in our "`scripts`_:code
print(archinstall.disk.device_handler.devices) print(archinstall.disk.device_handler.devices)
Now, go ahead and reference the :ref:`installing.python.manual` installation method. Now, go ahead and reference the :ref:`installing.python.manual` installation method.
After runnig ``python -m archinstall test_installer`` it should print something that looks like: After running ``python -m archinstall test_installer`` it should print something that looks like:
.. code-block:: text .. code-block:: text
@ -93,4 +93,4 @@ That means your script is in the right place, and ``archinstall`` is working as
Most calls, including the one above requires `root <https://en.wikipedia.org/wiki/Superuser>`_ privileges. Most calls, including the one above requires `root <https://en.wikipedia.org/wiki/Superuser>`_ privileges.
.. _scripts: https://github.com/archlinux/archinstall/tree/master/archinstall/scripts .. _scripts: https://github.com/archlinux/archinstall/tree/master/archinstall/scripts

View File

@ -22,7 +22,7 @@ Waiting for time sync `#2144`_
Missing Nvidia Proprietary Driver `#2002`_ Missing Nvidia Proprietary Driver `#2002`_
------------------------------------------ ------------------------------------------
| In some instances, the nvidia driver might not have all the nessecary packages installed. | In some instances, the nvidia driver might not have all the necessary packages installed.
| This is due to the kernel selection and/or hardware setups requiring additional packages to work properly. | This is due to the kernel selection and/or hardware setups requiring additional packages to work properly.
A common workaround is to install the package `linux-headers`_ and `nvidia-dkms`_ A common workaround is to install the package `linux-headers`_ and `nvidia-dkms`_
@ -49,7 +49,7 @@ Keyring is out of date `#2213`_
| Subsequently the ``archinstall`` run might operate on a old keyring despite there being an update service for this. | Subsequently the ``archinstall`` run might operate on a old keyring despite there being an update service for this.
| There is really no way to reliably over time work around this issue in ``archinstall``. | There is really no way to reliably over time work around this issue in ``archinstall``.
| Instead, efforts to the upstream service should be considered the way forward. And/or keys not expiring betwene a sane ammount of ISO's. | Instead, efforts to the upstream service should be considered the way forward. And/or keys not expiring between a sane amount of ISO's.
.. note:: .. note::
@ -99,4 +99,4 @@ AUR packages
.. _archlinux-keyring-wkd-sync.service: https://gitlab.archlinux.org/archlinux/archlinux-keyring/-/blob/7e672dad10652a80d1cc575d75cdb46442cd7f96/wkd_sync/archlinux-keyring-wkd-sync.service.in .. _archlinux-keyring-wkd-sync.service: https://gitlab.archlinux.org/archlinux/archlinux-keyring/-/blob/7e672dad10652a80d1cc575d75cdb46442cd7f96/wkd_sync/archlinux-keyring-wkd-sync.service.in
.. _ZFS: https://aur.archlinux.org/packages/zfs-linux .. _ZFS: https://aur.archlinux.org/packages/zfs-linux
.. _archinstall: https://github.com/archlinux/archinstall/ .. _archinstall: https://github.com/archlinux/archinstall/
.. _timedatectl show: https://github.com/archlinux/archinstall/blob/e6344f93f7e476d05bbcd642f2ed91fdde545870/archinstall/lib/installer.py#L136 .. _timedatectl show: https://github.com/archlinux/archinstall/blob/e6344f93f7e476d05bbcd642f2ed91fdde545870/archinstall/lib/installer.py#L136

View File

@ -26,7 +26,7 @@ To start the installer, run the following in the latest Arch Linux ISO:
archinstall archinstall
Since the `Guided Installer`_ is the default script, this is the equvilant of running :code:`archinstall guided` Since the `Guided Installer`_ is the default script, this is the equivalent of running :code:`archinstall guided`
The guided installation also supports installing with pre-configured answers to all the guided steps. This can be a quick and convenient way to re-run one or several installations. The guided installation also supports installing with pre-configured answers to all the guided steps. This can be a quick and convenient way to re-run one or several installations.
@ -284,4 +284,4 @@ Options for ``--creds``
The key's start with ``!`` because internal log functions will mask any keys starting with explamation from logs and unrestricted configurations. The key's start with ``!`` because internal log functions will mask any keys starting with explamation from logs and unrestricted configurations.
.. _scripts: https://github.com/archlinux/archinstall/tree/master/archinstall/scripts .. _scripts: https://github.com/archlinux/archinstall/tree/master/archinstall/scripts
.. _Guided Installer: https://github.com/archlinux/archinstall/blob/master/archinstall/scripts/guided.py .. _Guided Installer: https://github.com/archlinux/archinstall/blob/master/archinstall/scripts/guided.py