~ruther/guix-local

08016049908b732c1b26922fe47bd3c2755100f6 — Rutherther 2 months ago 5623e63
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 <rutherther@ditigal.xyz>
1 files changed, 5 insertions(+), 1 deletions(-)

M gnu/build/image.scm
M gnu/build/image.scm => gnu/build/image.scm +5 -1
@@ 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"
                   "--")