summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--TODO1
-rw-r--r--src/ob-unpacksource.sh3
2 files changed, 3 insertions, 1 deletions
diff --git a/TODO b/TODO
index 40edafa..f99f2a0 100644
--- a/TODO
+++ b/TODO
@@ -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'
;;