Kaynağa Gözat

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 <[email protected]>
Felix Fietkau 5 yıl önce
ebeveyn
işleme
ef11309c22
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      include/kernel-defaults.mk

+ 1 - 1
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)),"")