From 235d15857ea24831e81401592707997a9046658c Mon Sep 17 00:00:00 2001 From: Christian Marangi Date: Fri, 12 Apr 2024 15:09:45 +0200 Subject: [PATCH] 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 --- 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@rsync-server::data/src source_password = secret sdk_url = upload@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@example.org::upload-sources source_password = example2 sdk_url = user@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") -- 2.30.2