]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Use openSUSE everywhere 3101/head
authorAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Fri, 4 Oct 2024 13:13:25 +0000 (15:13 +0200)
committerAntonio Alvarez Feijoo <antonio.feijoo@suse.com>
Fri, 4 Oct 2024 13:13:25 +0000 (15:13 +0200)
.github/workflows/ci.yml
mkosi.conf.d/20-opensuse/mkosi.conf
mkosi/bootloader.py
mkosi/distributions/opensuse.py
mkosi/installer/rpm.py

index e8153e84c2a0570250ac5e2fde59f944d5af585d..de94cc67440ced66d9e75545447cdcda9001e2fd 100644 (file)
@@ -127,10 +127,10 @@ jobs:
           - ubuntu
           # TODO: Add CentOS once they have systemd v254 or newer.
         exclude:
-          # pacman and archlinux-keyring are not packaged in OpenSUSE.
+          # pacman and archlinux-keyring are not packaged in openSUSE.
           - distro: arch
             tools: opensuse
-          # apt, debian-keyring and ubuntu-keyring are not packaged in OpenSUSE.
+          # apt, debian-keyring and ubuntu-keyring are not packaged in openSUSE.
           - distro: debian
             tools: opensuse
           - distro: ubuntu
index 2f03b111a681ada1cfd2e3072b32dc380feb7979..c56650c06140e7450b1cdad469999a3d4e716d1b 100644 (file)
@@ -7,7 +7,7 @@ Distribution=opensuse
 Release=tumbleweed
 
 [Content]
-# OpenSUSE does not ship an unsigned shim
+# openSUSE does not ship an unsigned shim
 ShimBootloader=none
 Packages=
         diffutils
index 56962650cf0a362ce7ffd7fa4fe77c6b5795eb67..2569a7d8c5e4ab21b5905c473aefa118cdd0add3 100644 (file)
@@ -150,7 +150,7 @@ def prepare_grub_config(context: Context) -> Optional[Path]:
 
     if want_grub_efi(context):
         # Signed EFI grub shipped by distributions reads its configuration from /EFI/<distribution>/grub.cfg
-        # (except in OpenSUSE) in the ESP so let's put a shim there to redirect to the actual configuration
+        # (except in openSUSE) in the ESP so let's put a shim there to redirect to the actual configuration
         # file.
         if context.config.distribution == Distribution.opensuse:
             earlyconfig = context.root / "efi/EFI/BOOT/grub.cfg"
@@ -246,7 +246,7 @@ def find_signed_grub_image(context: Context) -> Optional[Path]:
     patterns = [
         f"usr/lib/grub/*-signed/grub{arch}.efi.signed",  # Debian/Ubuntu
         f"boot/efi/EFI/*/grub{arch}.efi",  # Fedora/CentOS
-        "usr/share/efi/*/grub.efi",  # OpenSUSE
+        "usr/share/efi/*/grub.efi",  # openSUSE
     ]
 
     for p in flatten(context.root.glob(pattern) for pattern in patterns):
@@ -790,7 +790,7 @@ def install_shim(context: Context) -> None:
         f"usr/lib/shim/shim{arch}.efi.signed.latest",  # Ubuntu
         f"usr/lib/shim/shim{arch}.efi.signed",  # Debian
         f"boot/efi/EFI/*/shim{arch}.efi",  # Fedora/CentOS
-        "usr/share/efi/*/shim.efi",  # OpenSUSE
+        "usr/share/efi/*/shim.efi",  # openSUSE
     ]
 
     unsigned = [
@@ -805,7 +805,7 @@ def install_shim(context: Context) -> None:
         f"usr/lib/shim/mm{arch}.efi.signed",  # Debian
         f"usr/lib/shim/mm{arch}.efi",  # Ubuntu
         f"boot/efi/EFI/*/mm{arch}.efi",  # Fedora/CentOS
-        "usr/share/efi/*/MokManager.efi",  # OpenSUSE
+        "usr/share/efi/*/MokManager.efi",  # openSUSE
     ]
 
     unsigned = [
index 6ab0bf3315fe28973f48442a6f56532f5a9f69cb..fe8c6f2b42d52a45242f0226c364d37d29084b14 100644 (file)
@@ -102,7 +102,7 @@ class Installer(DistributionInstaller):
 
             if not gpgkeys and not context.config.repository_key_fetch:
                 die(
-                    "OpenSUSE GPG keys not found in /usr/share/distribution-gpg-keys",
+                    "openSUSE GPG keys not found in /usr/share/distribution-gpg-keys",
                     hint="Make sure the distribution-gpg-keys package is installed",
                 )
 
@@ -241,7 +241,7 @@ class Installer(DistributionInstaller):
         }.get(arch)  # fmt: skip
 
         if not a:
-            die(f"Architecture {a} is not supported by OpenSUSE")
+            die(f"Architecture {a} is not supported by openSUSE")
 
         return a
 
index 3f27a7d66972e27db3fc1f01a637c927d6a7b76d..4e49d63d8fcd91b331a2b104fdae75bddb6b53d4 100644 (file)
@@ -92,7 +92,7 @@ def setup_rpm(
             for plugin in plugindir.iterdir():
                 f.write(f"%__transaction_{plugin.stem} %{{nil}}\n")
 
-    # Write an rpm sequoia policy that allows SHA1 as various distribution GPG keys (OpenSUSE) still use SHA1
+    # Write an rpm sequoia policy that allows SHA1 as various distribution GPG keys (openSUSE) still use SHA1
     # for various things.
     # TODO: Remove when all rpm distribution GPG keys have stopped using SHA1.
     if not (p := context.sandbox_tree / "etc/crypto-policies/back-ends/rpm-sequoia.config").exists():