From: Felix Fietkau Date: Thu, 26 Nov 2020 15:12:12 +0000 (+0100) Subject: build: make testing kernel decompression more portable X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=ef11309c22fae2fb27e8c32163b5ca274468e82e;p=openwrt%2Fstaging%2Fdangole.git build: make testing kernel decompression more portable On non-GNU systems, zcat often does not handle gzip decompression. Use gzip -dc like the regular unpack command Signed-off-by: Felix Fietkau --- diff --git a/include/kernel-defaults.mk b/include/kernel-defaults.mk index db93a53d71..863c180e48 100644 --- a/include/kernel-defaults.mk +++ b/include/kernel-defaults.mk @@ -24,7 +24,7 @@ Kernel/Patch:=$(Kernel/Patch/Default) ifneq (,$(findstring .xz,$(LINUX_SOURCE))) LINUX_CAT:=xzcat else - LINUX_CAT:=zcat + LINUX_CAT:=gzip -dc endif ifeq ($(strip $(CONFIG_EXTERNAL_KERNEL_TREE)),"")