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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
scripts/build/termux_step_create_datatar.sh
-
scripts/build/termux_step_create_debfile.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 . |
|
|
|
} |
|
|
|
|
|
@ -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 |
|
|
|