summaryrefslogtreecommitdiff
path: root/Build.pm
diff options
context:
space:
mode:
authorbiao716.wang <biao716.wang@samsung.com>2020-11-16 16:14:50 +0900
committerbiao716.wang <biao716.wang@samsung.com>2020-11-16 16:19:22 +0900
commitae34b3e7059a42bdfeb7e81e745b1bcf07cce9ae (patch)
tree7b87fa7eb175111bc29e4d8c830182b434395818 /Build.pm
parent2f8398141cfca1a8c58d317357555fd61373ab6b (diff)
downloadbuild-ae34b3e7059a42bdfeb7e81e745b1bcf07cce9ae.tar.gz
build-ae34b3e7059a42bdfeb7e81e745b1bcf07cce9ae.tar.bz2
build-ae34b3e7059a42bdfeb7e81e745b1bcf07cce9ae.zip
Support zstd arch for tar
Merge related pathches form github: https://github.com/openSUSE/obs-build/commit/9adf3c45a9da802ca40eb2fa7a263407fb2509ac https://github.com/openSUSE/obs-build/commit/99ace9e9af9227ef3d9b82ea64d2f22c766e225d https://github.com/openSUSE/obs-build/commit/f207143703d53ce2bdfa3996d22de885734dbf2dX Change-Id: I85e24df802a9aaab67c512609cf1471bb3f10d0f Signed-off-by: biao716.wang <biao716.wang@samsung.com>
Diffstat (limited to 'Build.pm')
-rw-r--r--Build.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Build.pm b/Build.pm
index de1c778..dd06de3 100644
--- a/Build.pm
+++ b/Build.pm
@@ -1376,7 +1376,7 @@ sub query {
return Build::Rpm::query($handle, %opts) if $do_rpm && $binname =~ /\.d?rpm$/;
return Build::Deb::query($handle, %opts) if $do_deb && $binname =~ /\.deb$/;
return Build::Kiwi::queryiso($handle, %opts) if $do_kiwi && $binname =~ /\.iso$/;
- return Build::Arch::query($handle, %opts) if $do_arch && $binname =~ /\.pkg\.tar(?:\.gz|\.xz)?$/;
+ return Build::Arch::query($handle, %opts) if $do_arch && $binname =~ /\.pkg\.tar(?:\.gz|\.xz|\.zst)?$/;
return Build::Arch::query($handle, %opts) if $do_arch && $binname =~ /\.arch$/;
return undef;
}
@@ -1406,7 +1406,7 @@ sub queryhdrmd5 {
return Build::Kiwi::queryhdrmd5(@_) if $do_kiwi && $binname =~ /\.iso$/;
return Build::Kiwi::queryhdrmd5(@_) if $do_kiwi && $binname =~ /\.raw$/;
return Build::Kiwi::queryhdrmd5(@_) if $do_kiwi && $binname =~ /\.raw.install$/;
- return Build::Arch::queryhdrmd5(@_) if $do_arch && $binname =~ /\.pkg\.tar(?:\.gz|\.xz)?$/;
+ return Build::Arch::queryhdrmd5(@_) if $do_arch && $binname =~ /\.pkg\.tar(?:\.gz|\.xz|\.zst)?$/;
return Build::Arch::queryhdrmd5(@_) if $do_arch && $binname =~ /\.arch$/;
return undef;
}