Commit 21bf69f6 authored by Gert-Jan Timmer's avatar Gert-Jan Timmer Committed by Timo Teräs

abuild: fix package size calculation on certain filesystems

parent ab79e3fe
......@@ -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
local size=$(du -sk | awk '{print $1 * 1024}')
if [ "$arch" != "$apkbuild_arch" ]; then
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment