diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-16 16:51:47 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-03-16 16:51:47 (EDT) |
commit | aabf5335ffddcc644f7c22b3ecca9484540b9bc5 (patch) | |
tree | 37311deaa03457b7d7ae7bbc9aebf1bbe1b39382 | |
parent | 78be2ae63fd397d549ab827f647eb3e3dd2087e3 (diff) |
ob-unpacksource: Support xz decompression
-rw-r--r-- | TODO | 1 | ||||
-rw-r--r-- | src/ob-unpacksource.sh | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -14,7 +14,6 @@ Functional Changes * ob-installdocs: Handle non-directory non-regular files? * ob-applypatches: Track and skip applied patches in `.opkbuild/patches` file: - `ob-applypatches: Skipping applied patch "01_foo.patch"...` - * ob-unpacksource: Support xz upstream archive decompression. * ob-unpacksource: Maybe call separate decompressor utilities instead of using tar's seamless decompression. This enables support for xz with BusyBox < 1.21.0 (commit dfc2473). (Not really needed, since ProteanOS has diff --git a/src/ob-unpacksource.sh b/src/ob-unpacksource.sh index 6c387e8..47362dd 100644 --- a/src/ob-unpacksource.sh +++ b/src/ob-unpacksource.sh @@ -72,6 +72,9 @@ get_upstream_compression() '.lz') upstream_ar_z='a' ;; + '.xz') + upstream_ar_z='J' + ;; '.Z') upstream_ar_z='Z' ;; |