From: Daan De Meyer Date: Sun, 3 Dec 2023 08:20:19 +0000 (+0100) Subject: mkosi-initrd: Strip all files starting with vmlinuz X-Git-Tag: v20~114^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=410271b123afda1f63a8e706efd2b5dfe24bc37e;p=thirdparty%2Fmkosi.git mkosi-initrd: Strip all files starting with vmlinuz Fedora has started shipping vmlinuz-virt.efi in the kernel modules directory so we have to make sure we strip that from the initrd as well. --- diff --git a/mkosi-initrd/mkosi.conf b/mkosi-initrd/mkosi.conf index 6a343a466..6a5c4e325 100644 --- a/mkosi-initrd/mkosi.conf +++ b/mkosi-initrd/mkosi.conf @@ -31,7 +31,7 @@ RemoveFiles= # Including kernel images in the initrd is generally not useful. # This also stops mkosi from extracting the kernel image out of the image as a separate output. - /usr/lib/modules/*/vmlinuz + /usr/lib/modules/*/vmlinuz* /usr/lib/modules/*/System.map # Configure locale explicitly so that all other locale data is stripped on distros whose package manager supports it.