Skip to content

Commit

Permalink
deb: relax package size limitation
Browse files Browse the repository at this point in the history
updated rdkafka v0.16.1 causes remarkable package size expansion.

Signed-off-by: Kentaro Hayashi <[email protected]>
  • Loading branch information
kenhys committed Jul 30, 2024
1 parent 9d66ae1 commit a23cef5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluent-package/apt/pkgsize-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ fi

PREVIOUS_SIZE=$(stat -c %s $BASE_NAME)
PREVIOUS_SIZE_MIB=$(echo "scale=2; ${PREVIOUS_SIZE} / 1024 / 1024" | bc)
THRESHOLD_SIZE=`echo "$PREVIOUS_SIZE * 1.2" | bc -l | cut -d. -f1`
THRESHOLD_SIZE=`echo "$PREVIOUS_SIZE * 1.4" | bc -l | cut -d. -f1`
echo "OLD: ${PREVIOUS_SIZE_MIB} MiB (${PREVIOUS_SIZE}) : ${BASE_NAME}"
echo "NEW: ${CURRENT_SIZE_MIB} MiB (${CURRENT_SIZE}) : ${DEB}"
if [ $CURRENT_SIZE -gt $THRESHOLD_SIZE ]; then
Expand Down

0 comments on commit a23cef5

Please sign in to comment.