]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Drop quotes where not needed
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 24 Feb 2023 15:02:57 +0000 (16:02 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Fri, 24 Feb 2023 15:51:39 +0000 (16:51 +0100)
mkosi/distributions/arch.py
mkosi/distributions/centos.py
mkosi/distributions/debian.py
mkosi/distributions/fedora.py
mkosi/distributions/gentoo.py
mkosi/distributions/mageia.py
mkosi/distributions/openmandriva.py

index ef5a96e8871c5c120dbd39901c33d21ef7fe6e8d..6fa34edb60f5fa1b2aeaaff643c8f58fcccf827d 100644 (file)
@@ -20,7 +20,7 @@ class ArchInstaller(DistributionInstaller):
         return "ext4"
 
     @classmethod
-    def install(cls, state: "MkosiState") -> None:
+    def install(cls, state: MkosiState) -> None:
         return install_arch(state)
 
 
index da412b28ebcce3948da763348092ccb368d5941b..077da1d1dc00505501c83228d18ba24b0dd47d8f 100644 (file)
@@ -51,7 +51,7 @@ class CentosInstaller(DistributionInstaller):
 
     @classmethod
     @complete_step("Installing CentOS…")
-    def install(cls, state: "MkosiState") -> None:
+    def install(cls, state: MkosiState) -> None:
         release = int(state.config.release)
 
         if release <= 7:
index 90430372992265622491bfb8a4f67995d244aa73..12df240982ebdc65027d36bf5c4a326a8d3da074 100644 (file)
@@ -50,7 +50,7 @@ class DebianInstaller(DistributionInstaller):
         return Path("boot") / f"initrd.img-{kver}"
 
     @classmethod
-    def install(cls, state: "MkosiState") -> None:
+    def install(cls, state: MkosiState) -> None:
         # Either the image builds or it fails and we restart, we don't need safety fsyncs when bootstrapping
         # Add it before debootstrap, as the second stage already uses dpkg from the chroot
         dpkg_io_conf = state.root / "etc/dpkg/dpkg.cfg.d/unsafe_io"
index 548cc4444533b67db9610ce4ca9063a227b563d7..5816d060c8e396b06fab27808e711a738c04d60c 100644 (file)
@@ -38,7 +38,7 @@ class FedoraInstaller(DistributionInstaller):
         return "btrfs"
 
     @classmethod
-    def install(cls, state: "MkosiState") -> None:
+    def install(cls, state: MkosiState) -> None:
         return install_fedora(state)
 
     @classmethod
index 4a2b95132ba4370edd4615c0d5f8c0ae8efb1222..0b49252c07c32aba9d96b40ffa6c362052598b94 100644 (file)
@@ -390,5 +390,5 @@ class GentooInstaller(DistributionInstaller):
         return Path(f"usr/src/linux-{name}") / kimg_path
 
     @classmethod
-    def install(cls, state: "MkosiState") -> None:
+    def install(cls, state: MkosiState) -> None:
         Gentoo(state)
index d01783ef04823b5575253d53d4a3bbd6acc23993..7653385a09a8536cb5ce97d78a88590d0286b168 100644 (file)
@@ -18,7 +18,7 @@ class MageiaInstaller(DistributionInstaller):
         return "ext4"
 
     @classmethod
-    def install(cls, state: "MkosiState") -> None:
+    def install(cls, state: MkosiState) -> None:
         return install_mageia(state)
 
     @classmethod
index 76339069b59bf02c75b29a23a5527832d8aba0a8..bedae10f1b03dcf460e6832549f6c5d7b9547016 100644 (file)
@@ -18,7 +18,7 @@ class OpenmandrivaInstaller(DistributionInstaller):
         return "ext4"
 
     @classmethod
-    def install(cls, state: "MkosiState") -> None:
+    def install(cls, state: MkosiState) -> None:
         return install_openmandriva(state)
 
     @classmethod