]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Do not require signatures for local packages
authorCornelius Hoffmann <coding@hoffmn.de>
Fri, 13 Oct 2023 10:01:23 +0000 (12:01 +0200)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Fri, 13 Oct 2023 10:57:25 +0000 (12:57 +0200)
This is the default in the pacman.conf arch ships (https://gitlab.archlinux.org/archlinux/packaging/packages/pacman/-/blob/main/pacman.conf?ref_type=heads#L42)
and allows to build AUR packages in build scripts and installing them in
the final image.

mkosi/installer/pacman.py

index 7a87a932dff7e8d634f09346abdd5c18b82b7107..621a2cc10915ad61e3ad5e31092f5a2a271f1668 100644 (file)
@@ -55,6 +55,7 @@ def setup_pacman(state: MkosiState) -> None:
                 f"""\
                 [options]
                 SigLevel = {sig_level}
+                LocalFileSigLevel = Optional
                 ParallelDownloads = 5
                 """
             )