Merge pull request #4903 from adrianschroeter/fix_tar_default

enforce gnu format for deb tar archives
This commit is contained in:
Leonid Pliushch 2020-02-11 16:51:39 +02:00 committed by GitHub
commit b65ec9fbc7
2 changed files with 2 additions and 2 deletions

View File

@ -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 .
}

View File

@ -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