]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
mkosi-initrd: Remove all vmlinux images as well 2625/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 14 Apr 2024 06:54:22 +0000 (08:54 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sun, 14 Apr 2024 13:47:28 +0000 (15:47 +0200)
mkosi/resources/mkosi-initrd/mkosi.conf

index aa4071b7c864a4da58aaf3d0ca869768a6ab11e1..bacb57b35f66ea1017d5a02410e9444ba22305ac 100644 (file)
@@ -29,6 +29,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/*/vmlinux*
         /usr/lib/modules/*/System.map
 
 # Configure locale explicitly so that all other locale data is stripped on distros whose package manager supports it.