From 5ba2b91af204f7148648081718d7a94d4794fe88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 11 Feb 2020 14:16:41 +0100 Subject: [PATCH] enforce gnu format for deb tar archives PAX aka POSIX is not supported in termux deb --- scripts/build/termux_step_create_datatar.sh | 2 +- scripts/build/termux_step_create_debfile.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/termux_step_create_datatar.sh b/scripts/build/termux_step_create_datatar.sh index 8702ed776..43206f72d 100644 --- a/scripts/build/termux_step_create_datatar.sh +++ b/scripts/build/termux_step_create_datatar.sh @@ -17,5 +17,5 @@ termux_step_create_datatar() { fi fi - tar -cJf "$TERMUX_PKG_PACKAGEDIR/data.tar.xz" . + tar -cJf "$TERMUX_PKG_PACKAGEDIR/data.tar.xz" -H gnu . } diff --git a/scripts/build/termux_step_create_debfile.sh b/scripts/build/termux_step_create_debfile.sh index 42474a828..29f282989 100644 --- a/scripts/build/termux_step_create_debfile.sh +++ b/scripts/build/termux_step_create_debfile.sh @@ -35,7 +35,7 @@ termux_step_create_debfile() { termux_step_create_debscripts # Create control.tar.gz - tar -czf "$TERMUX_PKG_PACKAGEDIR/control.tar.gz" . + tar -czf "$TERMUX_PKG_PACKAGEDIR/control.tar.gz" -H gnu . test ! -f "$TERMUX_COMMON_CACHEDIR/debian-binary" && echo "2.0" > "$TERMUX_COMMON_CACHEDIR/debian-binary" TERMUX_PKG_DEBFILE=$TERMUX_DEBDIR/${TERMUX_PKG_NAME}${DEBUG}_${TERMUX_PKG_FULLVERSION}_${TERMUX_ARCH}.deb