diff options
-rw-r--r-- | abuild.in | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -836,6 +836,13 @@ prepare_metafiles() { cd "$dir" mkdir -p "$controldir" local builddate=$(date -u "+%s") + + # Fix package size on several filesystems + case "$(df -PT . | awk 'END {print $2}')" in + btrfs|ecryptfs|zfs) + sync;; + esac + local size=$(du -sk | awk '{print $1 * 1024}') if [ "$arch" != "$apkbuild_arch" ]; then |