This PR makes the builder support both file extensions. If both of them are present in the variantFiles at the same time (not sure if it's possible), then the zst will be chosen.
Tested with 23.05.3 (xz) and snapshot (zst) using the "raw" profile definition rather than identifyProfile:
Since https://github.com/openwrt/openwrt/pull/14971 OpenWRT provides builds compressed using
zst
. So the file extension is not.tar.xz
but.tar.zst
now. For example,openwrt-imagebuilder-mediatek-filogic.Linux-x86_64.tar.zst
This PR makes the builder support both file extensions. If both of them are present in the
variantFiles
at the same time (not sure if it's possible), then thezst
will be chosen.Tested with 23.05.3 (
xz
) and snapshot (zst
) using the "raw" profile definition rather thanidentifyProfile
: