mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
tools/mkrelease: minor optimization
Reduce the size of terminating empty blocks when creating a TAR.
This commit is contained in:
committed by
Frans de Jonge
parent
e18ea6c821
commit
5a598c5712
@@ -279,6 +279,8 @@ sevenzip_compress_cmd+=("${options[@]}" a "${output}" "-i@${filelist}")
|
||||
tar_compress_cmd=(
|
||||
"${TAR}" --create --no-recursion
|
||||
--numeric-owner --owner=0 --group=0
|
||||
# Minimize size of terminating empty blocks (7KB → 1KB).
|
||||
--record-size=512
|
||||
--verbatim-files-from --files-from="${filelist}"
|
||||
)
|
||||
case "${format}" in
|
||||
|
||||
Reference in New Issue
Block a user