]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Disable debsig for dpkg by default as they do in debian.
authorCornelius Hoffmann <coding@hoffmn.de>
Tue, 2 Jan 2024 15:39:18 +0000 (16:39 +0100)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Tue, 2 Jan 2024 17:40:58 +0000 (18:40 +0100)
From the default dpkg.conf:
# Do not enable debsig-verify by default; since the distribution is not using
# embedded signatures, debsig-verify would reject all packages.
no-debsig

mkosi/installer/apt.py

index 8df65459362fe01aa40f0a239aa060bbc3a28216..59574bf8814894f00249d6839327f1df5bed1416 100644 (file)
@@ -73,6 +73,7 @@ def apt_cmd(state: MkosiState, command: str) -> list[PathString]:
         "-o", "DPkg::Options::=--force-unsafe-io",
         "-o", "DPkg::Options::=--force-architecture",
         "-o", "DPkg::Options::=--force-depends",
+        "-o", "DPkg::Options::=--no-debsig",
         "-o", "DPkg::Use-Pty=false",
         "-o", "DPkg::Install::Recursive::Minimum=1000",
         "-o", "pkgCacheGen::ForceEssential=,",