]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
initrd: Copy /etc/pki/rpm-gpg into sandbox tree
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 15 Jun 2025 19:50:39 +0000 (20:50 +0100)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Mon, 16 Jun 2025 08:35:56 +0000 (10:35 +0200)
Repos from /etc/yum.repos.d might be signed by keys from /etc/pki/rpm-gpg
so make sure we copy those into the sandbox tree as well.

Fixes #3767

mkosi/initrd.py

index 42e00546eba9b81f447660d0dfd59ee1bddc2fa8..90a61b5b4705e59c0343fda3fd398f00d67e65fa 100644 (file)
@@ -375,6 +375,7 @@ def main() -> None:
         for p in (
             "dnf",
             "yum.repos.d/",
+            "pki/rpm-gpg",
             "apt",
             "zypp",
             "pacman.conf",