From: Daan De Meyer Date: Sun, 20 Oct 2024 08:58:08 +0000 (+0200) Subject: Don't unconditionally enable epel for mkosi-initrd X-Git-Tag: v25~213 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f502c53699a2b8d3d3c160abe05de5c959f40eed;p=thirdparty%2Fmkosi.git Don't unconditionally enable epel for mkosi-initrd Whether to enable epel or not should be up to the user, not hard coded by us, so drop the config snippet that enables the epel repositories. follow-up for 886f091a743a6ac808c20ef59e9cf7e20703376d To enable the epel repositories for mkosi-initrd, you'd do something like the following: """ [Distribution] Distribution=centos Release=9 Repositories=epel,epel-next [Include] Include=mkosi-initrd """ We don't currently have a way to enable the epel repositories when using mkosi-initrd, because it always uses the exact same repositories as the host system. However, erofs-utils can still be installed by just including it using /usr/lib/mkosi-initrd/mkosi.conf without a match section. --- diff --git a/mkosi/resources/mkosi-initrd/mkosi.conf.d/10-centos/mkosi.conf.d/10-epel.conf b/mkosi/resources/mkosi-initrd/mkosi.conf.d/10-centos/mkosi.conf.d/10-epel.conf deleted file mode 100644 index 4c1b9e5f0..000000000 --- a/mkosi/resources/mkosi-initrd/mkosi.conf.d/10-centos/mkosi.conf.d/10-epel.conf +++ /dev/null @@ -1,7 +0,0 @@ -# SPDX-License-Identifier: LGPL-2.1-or-later - -[Match] -Release=9 - -[Distribution] -Repositories=epel,epel-next