Commit 4bc2b118 authored by Reiner Herrmann's avatar Reiner Herrmann

Use xz compression for source tarball

parent 8643c07e
......@@ -290,13 +290,13 @@ DISTFILES_TEST = "test/apps test/apps-x11 test/environment test/profiles test/ut
dist:
make distclean
rm -fr $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.bz2
rm -fr $(NAME)-$(VERSION) $(NAME)-$(VERSION).tar.xz
mkdir -p $(NAME)-$(VERSION)/test
cp -a "$(DISTFILES)" $(NAME)-$(VERSION)
cp -a "$(DISTFILES_TEST)" $(NAME)-$(VERSION)/test
rm -rf $(NAME)-$(VERSION)/src/tools
find $(NAME)-$(VERSION) -name .svn -delete
tar -cjvf $(NAME)-$(VERSION).tar.bz2 $(NAME)-$(VERSION)
tar -cJvf $(NAME)-$(VERSION).tar.xz $(NAME)-$(VERSION)
rm -fr $(NAME)-$(VERSION)
deb: dist
......
......@@ -3,7 +3,7 @@
# a code archive should already be available
TOP=`pwd`
CODE_ARCHIVE="$1-$2.tar.bz2"
CODE_ARCHIVE="$1-$2.tar.xz"
CODE_DIR="$1-$2"
INSTALL_DIR="${INSTALL_DIR}${CODE_DIR}/debian"
DEBIAN_CTRL_DIR="${DEBIAN_CTRL_DIR}${CODE_DIR}/debian/DEBIAN"
......@@ -15,7 +15,7 @@ echo "install directory: $INSTALL_DIR"
echo "debian control directory: $DEBIAN_CTRL_DIR"
echo "*****************************************"
tar -xjvf $CODE_ARCHIVE
tar -xJvf $CODE_ARCHIVE
#mkdir -p $INSTALL_DIR
cd $CODE_DIR
./configure --prefix=/usr
......
#!/bin/bash
# unpack firejail archive
ARCFIREJAIL=`ls *.tar.bz2| grep firejail`
ARCFIREJAIL=`ls *.tar.xz| grep firejail`
if [ "$?" -eq 0 ];
then
echo "preparing $ARCFIREJAIL"
DIRFIREJAIL=`basename $ARCFIREJAIL .tar.bz2`
DIRFIREJAIL=`basename $ARCFIREJAIL .tar.xz`
rm -fr $DIRFIREJAIL
tar -xjvf $ARCFIREJAIL
tar -xJvf $ARCFIREJAIL
cd $DIRFIREJAIL
./configure --prefix=/usr
cd ..
......
......@@ -55,7 +55,7 @@ cleanup
#*****************************************************************
print_title "${arr[1]}"
echo "$DIST"
tar -xjvf ../../$DIST.tar.bz2
tar -xJvf ../../$DIST.tar.xz
mv $DIST firejail
cd firejail
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment