Skip to content

Commit

Permalink
phase2: update default sdk pattern to a more relaxed pattern
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Ansuel authored and ynezz committed Apr 13, 2024
1 parent bf7c916 commit 235d158
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -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-----
Expand Down
2 changes: 1 addition & 1 deletion phase2/config.ini.example
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ source_url = [email protected]::upload-sources
source_password = example2
sdk_url = [email protected]::download-binary
sdk_password = example3
sdk_pattern = openwrt-sdk-*.tar.xz
sdk_pattern = openwrt-sdk-*.tar.*

[gpg]
key = -----BEGIN PGP PRIVATE KEY BLOCK-----
Expand Down
2 changes: 1 addition & 1 deletion phase2/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 235d158

Please sign in to comment.