summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro del Castillo <alejandro.delcastillo@ni.com>2018-11-19 10:09:53 -0600
committerAlejandro del Castillo <alejandro.delcastillo@ni.com>2018-11-19 10:09:53 -0600
commit961432da1d6a8847a0e80d5f2168330a603d440b (patch)
treefd797a201692937004ebe8d909ff3b2b3f29ad75
parente911b8248324a198c39b508ab9e1459017ab1f22 (diff)
downloadopkg-utils-961432da1d6a8847a0e80d5f2168330a603d440b.tar.gz
opkg-utils-961432da1d6a8847a0e80d5f2168330a603d440b.tar.bz2
opkg-utils-961432da1d6a8847a0e80d5f2168330a603d440b.zip
opkg-build: add support for lz4 compressor
Signed-off-by: Alejandro del Castillo <alejandro.delcastillo@ni.com>
-rwxr-xr-xopkg-build6
1 files changed, 5 insertions, 1 deletions
diff --git a/opkg-build b/opkg-build
index 69e3f40..122a91f 100755
--- a/opkg-build
+++ b/opkg-build
@@ -179,6 +179,10 @@ compressor_ext() {
xz)
echo xz
;;
+ lz4)
+ echo lz4
+ ;;
+
*)
echo "*** Error: unsupported compression scheme: $1" >&2
exit 1
@@ -346,7 +350,7 @@ Stop with an error if any files ending with B<~> are found. The default behaviou
=item B<-Z> I<compressor>
-Specify which compression type to use when building a package. Allowed values are B<gzip>, B<pigz>, B<bzip2> and B<xz> (default is B<gzip>).
+Specify which compression type to use when building a package. Allowed values are B<gzip>, B<pigz>, B<bzip2>, B<lz4> and B<xz> (default is B<gzip>).
=item B<-a> I<compressor-args>