]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Stop installing dpkg-dev explicitly in tools trees
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 11 Apr 2024 14:47:17 +0000 (16:47 +0200)
committerJörg Behrmann <behrmann@physik.fu-berlin.de>
Thu, 11 Apr 2024 15:34:50 +0000 (17:34 +0200)
apt will pull in dpkg as a dependency. dpkg-dev specifically only
includes stuff required to build packages, which you generally only
want to install in the image itself as the dpkg build tooling does
not support operating on a chroot.

This gets rid of perl in tools trees as dpkg-dev depends on a bunch
of perl scripts but dpkg doesn't.

mkosi/resources/mkosi-tools/mkosi.conf.d/10-centos-fedora/mkosi.conf
mkosi/resources/mkosi-tools/mkosi.conf.d/10-debian-ubuntu.conf

index 69751ef330bbcf8e7f6077c2d30d0eab5bb0dd7e..4921832f7d30da6d4dbdc747ae2d697ea6f7eee1 100644 (file)
@@ -15,7 +15,6 @@ Packages=
         debian-keyring
         distribution-gpg-keys
         dnf-plugins-core
-        dpkg-dev
         git-core
         openssh-clients
         policycoreutils
index eb37e6b7f9008006c6a75e14c4b04adab005007b..d987beff3502b6b02de84b80042da3d2dbd8fd57 100644 (file)
@@ -13,7 +13,6 @@ Packages=
         createrepo-c
         curl
         debian-archive-keyring
-        dpkg-dev
         erofs-utils
         git-core
         grub2