[openwrt/openwrt] include/download.mk: switch to zst compression

LEDE Commits lede-commits at lists.infradead.org
Sat Apr 6 02:24:27 PDT 2024


robimarko pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/706f0e395f5392da0a502f1039aa01ca14849ec5

commit 706f0e395f5392da0a502f1039aa01ca14849ec5
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Mon Mar 25 09:56:18 2024 +0100

    include/download.mk: switch to zst compression
    
    The compression is faster to (un)pack files, make use of it.
    
    Also add a new build prerequirement, the `zstd` to (un)pack files.
    
    Signed-off-by: Paul Spooren <mail at aparcar.org>
    [ improve commit title ]
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 include/download.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/download.mk b/include/download.mk
index ce8a7894b6..960dd816c0 100644
--- a/include/download.mk
+++ b/include/download.mk
@@ -13,7 +13,7 @@ ifdef PKG_SOURCE_VERSION
     PKG_VERSION := $(if $(PKG_SOURCE_DATE),$(subst -,.,$(PKG_SOURCE_DATE)),0)~$(call version_abbrev,$(PKG_SOURCE_VERSION))
   endif
   PKG_SOURCE_SUBDIR ?= $(PKG_NAME)-$(PKG_VERSION)
-  PKG_SOURCE ?= $(PKG_SOURCE_SUBDIR).tar.xz
+  PKG_SOURCE ?= $(PKG_SOURCE_SUBDIR).tar.zst
 endif
 
 DOWNLOAD_RDEP=$(STAMP_PREPARED) $(HOST_STAMP_PREPARED)




More information about the lede-commits mailing list