From b120176da4122155c7591e5be0e4deb8148a4c40 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Tue, 5 Dec 2017 13:53:29 +0100 Subject: Fix calculate_size in case $SIZE < $MIN calculate_size had a typo that made one of the cases fail. This patch fixes it. --- classes/image_types_ota.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass index be9a017..a025576 100644 --- a/classes/image_types_ota.bbclass +++ b/classes/image_types_ota.bbclass @@ -32,7 +32,7 @@ calculate_size () { fi if [ "$SIZE" -lt "$MIN" ]; then - $SIZE=$MIN + SIZE=$MIN fi SIZE=`expr $SIZE \+ $EXTRA` -- cgit v1.2.3-54-g00ecf