]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
tools: Don't use apt pattern for ubuntu-keyring
authorJörg Behrmann <behrmann@physik.fu-berlin.de>
Wed, 2 Oct 2024 11:07:02 +0000 (13:07 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 2 Oct 2024 12:58:41 +0000 (14:58 +0200)
Running

    mkosi --directory "" -d debian -r bookworm --include mkosi-tools --output mkosi.tools

on current Debian stable on gets an error that the package 'ubuntu-keyring'
doesn't have any installable candidates. Moving the inclusion of the package
out of the purview of apt and back into mkosi's fixes this issue.

mkosi/resources/mkosi-tools/mkosi.conf.d/10-debian-kali-ubuntu/mkosi.conf
mkosi/resources/mkosi-tools/mkosi.conf.d/10-debian-kali-ubuntu/mkosi.conf.d/ubuntu-keyring.conf [new file with mode: 0644]

index 53a43bc8c9348fab0fdcc87d34b22b2011ecc912..bde44e73bec87ebfe5265bc581b27b4504239fb6 100644 (file)
@@ -13,7 +13,6 @@ Packages=
         ?exact-name(systemd-boot)
         ?exact-name(systemd-repart)
         ?exact-name(systemd-ukify)
-        ?exact-name(ubuntu-keyring)
         ?exact-name(virtiofsd)
         apt
         archlinux-keyring
diff --git a/mkosi/resources/mkosi-tools/mkosi.conf.d/10-debian-kali-ubuntu/mkosi.conf.d/ubuntu-keyring.conf b/mkosi/resources/mkosi-tools/mkosi.conf.d/10-debian-kali-ubuntu/mkosi.conf.d/ubuntu-keyring.conf
new file mode 100644 (file)
index 0000000..a94ac4a
--- /dev/null
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: LGPL-2.1-or-later
+
+[Match]
+Distribution=|!debian
+Release=|!bookworm
+
+[Content]
+Packages=
+        ubuntu-keyring