Browse Source

Merge pull request #4903 from adrianschroeter/fix_tar_default

enforce gnu format for deb tar archives
build-on-device
Leonid Plyushch 5 years ago
committed by GitHub
parent
commit
c2d542be02
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      scripts/build/termux_step_create_datatar.sh
  2. 2
      scripts/build/termux_step_create_debfile.sh

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

2
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

Loading…
Cancel
Save