From 4014638da1a867f7be6a4c158d82edd5391b9052 Mon Sep 17 00:00:00 2001 From: mid-kid Date: Tue, 26 Jan 2016 17:11:22 +0100 Subject: [PATCH] Disable compression --- astronaut/pacman-astronaut | 4 ++-- astronaut/xbps-astronaut | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/astronaut/pacman-astronaut b/astronaut/pacman-astronaut index 7950d0d..8423dcc 100755 --- a/astronaut/pacman-astronaut +++ b/astronaut/pacman-astronaut @@ -29,5 +29,5 @@ EOF bsdtar --strip-components 1 -C "$dir_install" -czf .MTREE --format=mtree --options='!all,use-set,type,uid,gid,mode,time,size,md5,sha256,link' . mv .MTREE "$dir_install/.MTREE" # bsdtar doesn't like the file being in the same directory. -fakeroot -- bsdtar --strip-components 1 -C "$dir_install" -cf - . | xz -c -z - > "$_satname-$version-astro-$(uname -m).pkg.tar.xz" -repo-add astronaut.db.tar.gz "$_satname-$version-astro-$(uname -m).pkg.tar.xz" +fakeroot -- bsdtar --strip-components 1 -C "$dir_install" -cf - . > "$_satname-$version-astro-$(uname -m).pkg.tar" +repo-add astronaut.db.tar.gz "$_satname-$version-astro-$(uname -m).pkg.tar" diff --git a/astronaut/xbps-astronaut b/astronaut/xbps-astronaut index b0c2cbd..8a2cf53 100755 --- a/astronaut/xbps-astronaut +++ b/astronaut/xbps-astronaut @@ -16,5 +16,5 @@ _nuke_dir_install=true # _dir_xbps should be set from a configuration file (e.g. ~/.astronaut.conf), and points to wherever you want your packages to be placed. [ "$_dir_xbps" ] && mkdir -p "$_dir_xbps" && cd "$_dir_xbps" || cd "$_topdir" -xbps-create -A "$(uname -m)" -n "$_satname-${version}_astro" -s "Generated with xbps-astronaut" -H "$update_url" "$dir_install" +xbps-create --compression none -A "$(uname -m)" -n "$_satname-${version}_astro" -s "Generated with xbps-astronaut" -H "$update_url" "$dir_install" xbps-rindex -f -a "$_satname-${version}_astro.$(uname -m).xbps"