scripts: fix installed-size calculation
authorPaul Spooren <mail@aparcar.org>
Sat, 6 Jan 2024 17:10:29 +0000 (18:10 +0100)
committerPaul Spooren <mail@aparcar.org>
Mon, 8 Jan 2024 13:08:06 +0000 (14:08 +0100)
commit49e8f532989c342fff44c1c558f8182585673833
tree7b98e4742a4cfcc73b79028742bb807690474634
parente32edf712b7c43e25b4bec40fedfd948a0ed5bd6
scripts: fix installed-size calculation

Previously the script would calculate the size of the compressed archive
which isn't the size installed in the overlayfs.

This commit uses zcat in combination with wc to calculate the
umcompressed size.

Signed-off-by: Paul Spooren <mail@aparcar.org>
scripts/ipkg-build