phase2: update default sdk pattern to a more relaxed pattern
authorChristian Marangi <ansuelsmth@gmail.com>
Fri, 12 Apr 2024 13:09:45 +0000 (15:09 +0200)
committerPetr Štetiar <ynezz@true.cz>
Sat, 13 Apr 2024 03:58:34 +0000 (05:58 +0200)
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@gmail.com>
docker/config.ini
phase2/config.ini.example
phase2/master.cfg

index da868eaa64f87cfe11b56dfab75195812f11bb26..25543f225b1ee7828f03160d31141095e54b8b2a 100644 (file)
@@ -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-----
index ba8ff76731f95cdd0f9dfb6cc6b5d03ed00386ab..b7e75d330f3bdfccdec32bd5863487bfdf1c637a 100644 (file)
@@ -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-----
index 1267cf137782f319da8acda27c9c323b54790bd9..da22ccea181e5ec20be7ebf39077e4d33490a937 100644 (file)
@@ -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")