From be1d30c35b9fb9a755a1a7b83d08313c42c897b0 Mon Sep 17 00:00:00 2001 From: Andrew Lukoshko Date: Wed, 17 Jul 2024 19:01:26 +0000 Subject: [PATCH] Do not compress kernel for aarch64 --- SPECS/kernel.spec | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/SPECS/kernel.spec b/SPECS/kernel.spec index 36284e8c8..7160d3f79 100644 --- a/SPECS/kernel.spec +++ b/SPECS/kernel.spec @@ -546,8 +546,8 @@ Summary: The Linux kernel %define all_arch_configs kernel-%{version}-aarch64*.config %define asmarch arm64 %define hdrarch arm64 -%define make_target Image.gz -%define kernel_image arch/arm64/boot/Image.gz +%define make_target Image +%define kernel_image arch/arm64/boot/Image %endif # Should make listnewconfig fail if there's config options @@ -2016,9 +2016,6 @@ BuildKernel() { exit 1 fi mv vmlinuz.signed $SignImage - if [ "$KernelExtension" == "gz" ]; then - gzip -f9 $SignImage - fi # signkernel %endif