From 08016049908b732c1b26922fe47bd3c2755100f6 Mon Sep 17 00:00:00 2001 From: Rutherther Date: Mon, 1 Dec 2025 19:39:53 +0100 Subject: [PATCH] gnu: make-iso9660-image: Do not compress any kernel, compress man pages. Because the linux image is called differently based on the architectures, see system-linu/-image-file-name from gnu/system.scm, the kernel image on aarch64, mips and armhf has still been compressed. This means that grub cannot boot. Man pages have moved from gz to zst, so compress them as well. * gnu/build/image.scm (make-iso9660-image): Do not compress Image, vmlinuz and zImage; Compress all man pages. Change-Id: I68b35f383c84ff231865d580aa9e79d9fd88ace1 Signed-off-by: Rutherther --- gnu/build/image.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gnu/build/image.scm b/gnu/build/image.scm index d68fb29e05a9cc05fb7f363f17c910002c13508b..53c75839bab92ebfbdfeb6487c6c124f7824367f 100644 --- a/gnu/build/image.scm +++ b/gnu/build/image.scm @@ -428,7 +428,11 @@ GRUB configuration and OS-DRV as the stuff in it." "-not" "-wholename" "/System/*" "-not" "-name" "unicode.pf2" "-not" "-name" "bzImage" - "-not" "-name" "*.gz" ; initrd & all man pages + "-not" "-name" "zImage" + "-not" "-name" "Image" + "-not" "-name" "vmlinuz" + "-not" "-name" "*.gz" ; initrd + "-not" "-name" "*.zst" ; all man pages "-not" "-name" "*.png" ; includes grub-image.png "-exec" "set_filter" "--zisofs" "--")