From 3d77f5a4ef4e312c07ddb513ff1e21c6b2fb1d42 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 e753e0e..d21441d 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