- 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
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"
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):
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 = [
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 = [
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",
)
}.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
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():