From: Daan De Meyer Date: Thu, 11 Apr 2024 14:47:17 +0000 (+0200) Subject: Stop installing dpkg-dev explicitly in tools trees X-Git-Tag: v23~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=49ddba507dd3cea00058a71e573213f2bcf25b18;p=thirdparty%2Fmkosi.git Stop installing dpkg-dev explicitly in tools trees 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. --- diff --git a/mkosi/resources/mkosi-tools/mkosi.conf.d/10-centos-fedora/mkosi.conf b/mkosi/resources/mkosi-tools/mkosi.conf.d/10-centos-fedora/mkosi.conf index 69751ef33..4921832f7 100644 --- a/mkosi/resources/mkosi-tools/mkosi.conf.d/10-centos-fedora/mkosi.conf +++ b/mkosi/resources/mkosi-tools/mkosi.conf.d/10-centos-fedora/mkosi.conf @@ -15,7 +15,6 @@ Packages= debian-keyring distribution-gpg-keys dnf-plugins-core - dpkg-dev git-core openssh-clients policycoreutils diff --git a/mkosi/resources/mkosi-tools/mkosi.conf.d/10-debian-ubuntu.conf b/mkosi/resources/mkosi-tools/mkosi.conf.d/10-debian-ubuntu.conf index eb37e6b7f..d987beff3 100644 --- a/mkosi/resources/mkosi-tools/mkosi.conf.d/10-debian-ubuntu.conf +++ b/mkosi/resources/mkosi-tools/mkosi.conf.d/10-debian-ubuntu.conf @@ -13,7 +13,6 @@ Packages= createrepo-c curl debian-archive-keyring - dpkg-dev erofs-utils git-core grub2