]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Fix typos
authorKian-Meng Ang <kianmeng@cpan.org>
Thu, 16 Mar 2023 03:59:53 +0000 (11:59 +0800)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 16 Mar 2023 07:31:20 +0000 (08:31 +0100)
Found via `typos --format brief`

README.md
docs/initrd.md
mkosi/__init__.py
mkosi/distributions/gentoo.py
mkosi/run.py

index 9e386b2415957da63f91dbd598dffeaa0a740e36..f51b47713cd68e6a7fbcf136c18d5fae5cbdea69 100644 (file)
--- a/README.md
+++ b/README.md
@@ -65,5 +65,5 @@ irrelevant code formatting commits. This can be set permanently via the `blame.i
 # References
 
 * [Primary mkosi git repository on GitHub](https://github.com/systemd/mkosi/)
-* [mkosi — A Tool for Generating OS Images](http://0pointer.net/blog/mkosi-a-tool-for-generating-os-images.html) indroductory blog post by Lennart Poettering
+* [mkosi — A Tool for Generating OS Images](http://0pointer.net/blog/mkosi-a-tool-for-generating-os-images.html) introductory blog post by Lennart Poettering
 * [The mkosi OS generation tool](https://lwn.net/Articles/726655/) story on LWN
index b83a1c5e593ee95d0f31195516bf682c4ea07a58..e1e932e21cb647c5ff2743f485cfea3c0b030e9d 100644 (file)
@@ -1,7 +1,7 @@
 # Building a custom initrd and using it in a mkosi image
 
 Building an image with a mkosi-built initrd is a two step process, because you will build two images - the initrd and your distribution image.
-1. Build an initrd image using the `cpio` output format with the same target distribtution as you want to use for your distribution image. mkosi compresses the `cpio` output format by default.
+1. Build an initrd image using the `cpio` output format with the same target distributions as you want to use for your distribution image. mkosi compresses the `cpio` output format by default.
 ```
 [Output]
 Format=cpio
index 3828411b5840aa8a2ba4fce2e2b95c6c2a596680..bae7ad32d57b6c80d6eba8700354aec112213166 100644 (file)
@@ -3237,7 +3237,7 @@ def run_build_script(state: MkosiState) -> None:
 
     with complete_step("Running build script…"), mount_build_overlay(state):
         # Bubblewrap creates bind mount point parent directories with restrictive permissions so we create
-        # the work directory outselves here.
+        # the work directory ourselves here.
         state.root.joinpath("work").mkdir(mode=0o755)
 
         bwrap: list[PathString] = [
index 25b443ab049c132a5a452fc510503e9242e8c7ad..3da42679953cacfb114ebb23adb5c874c83a450c 100644 (file)
@@ -272,7 +272,7 @@ class Gentoo:
         package_env.mkdir(exist_ok=True)
         self.ebuild_sh_env_dir.mkdir(exist_ok=True)
 
-        # apply whatever we put in mkosi_conf to runs invokation of emerge
+        # apply whatever we put in mkosi_conf to runs invocation of emerge
         package_env.joinpath("mkosi.conf").write_text("*/*    mkosi.conf\n")
 
         # we use this so we don't need to touch upstream files.
index b13586e2833d097c3e59f18249ddc358e6c07760..54c428740baca23ed0f03666bc85e01e6e51bf6f 100644 (file)
@@ -147,7 +147,7 @@ class RemoteException(Exception):
 
 
 def excepthook(exctype: Type[BaseException], exc: BaseException, tb: Optional[TracebackType]) -> None:
-    """Attach to sys.excepthook to automically format exceptions with a RemoteException attached correctly."""
+    """Attach to sys.excepthook to automatically format exceptions with a RemoteException attached correctly."""
     if isinstance(exc.__cause__, RemoteException):
         print(exc.__cause__, file=sys.stderr)
     else: