[buildbot] phase2: update default sdk pattern to a more relaxed pattern

LEDE Commits lede-commits at lists.infradead.org
Fri Apr 12 23:32:58 PDT 2024


ynezz pushed a commit to buildbot.git, branch main:
https://git.openwrt.org/235d15857ea24831e81401592707997a9046658c

commit 235d15857ea24831e81401592707997a9046658c
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Fri Apr 12 15:09:45 2024 +0200

    phase2: update default sdk pattern to a more relaxed pattern
    
    Update default sdk pattern to a more relaxed pattern to make it future
    proof if in the future the compression extension will change again.
    
    Needed currently with the migration from .xz to .zst.
    
    Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
 docker/config.ini         | 2 +-
 phase2/config.ini.example | 2 +-
 phase2/master.cfg         | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/docker/config.ini b/docker/config.ini
index da868ea..25543f2 100644
--- a/docker/config.ini
+++ b/docker/config.ini
@@ -36,7 +36,7 @@ source_url = upload at rsync-server::data/src
 source_password = secret
 sdk_url = upload at rsync-server::data/bin/targets
 sdk_password = secret
-sdk_pattern = openwrt-sdk-*.tar.xz
+sdk_pattern = openwrt-sdk-*.tar.*
 
 [gpg]
 key = -----BEGIN PGP PRIVATE KEY BLOCK-----
diff --git a/phase2/config.ini.example b/phase2/config.ini.example
index ba8ff76..b7e75d3 100644
--- a/phase2/config.ini.example
+++ b/phase2/config.ini.example
@@ -29,7 +29,7 @@ source_url = user at example.org::upload-sources
 source_password = example2
 sdk_url = user at example.org::download-binary
 sdk_password = example3
-sdk_pattern = openwrt-sdk-*.tar.xz
+sdk_pattern = openwrt-sdk-*.tar.*
 
 [gpg]
 key = -----BEGIN PGP PRIVATE KEY BLOCK-----
diff --git a/phase2/master.cfg b/phase2/master.cfg
index 1267cf1..da22cce 100644
--- a/phase2/master.cfg
+++ b/phase2/master.cfg
@@ -115,7 +115,7 @@ if ini.has_option("rsync", "source_url"):
 
 rsync_sdk_url = None
 rsync_sdk_key = None
-rsync_sdk_pat = "openwrt-sdk-*.tar.xz"
+rsync_sdk_pat = "openwrt-sdk-*.tar.*"
 
 if ini.has_option("rsync", "sdk_url"):
 	rsync_sdk_url = ini.get("rsync", "sdk_url")




More information about the lede-commits mailing list