summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2017-12-05 13:53:29 +0100
committerPatrick Vacek <patrickvacek@gmail.com>2018-03-07 11:49:51 +0100
commit3d77f5a4ef4e312c07ddb513ff1e21c6b2fb1d42 (patch)
tree1e6053799b630c70e2d1ff983d18f6541c731432 /classes
parent91ad494544866512f7cfff0c67cdc02536f4242f (diff)
downloadmeta-updater-3d77f5a4ef4e312c07ddb513ff1e21c6b2fb1d42.tar.gz
Fix calculate_size in case $SIZE < $MIN
calculate_size had a typo that made one of the cases fail. This patch fixes it.
Diffstat (limited to 'classes')
-rw-r--r--classes/image_types_ota.bbclass2
1 files changed, 1 insertions, 1 deletions
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 () {
32 fi 32 fi
33 33
34 if [ "$SIZE" -lt "$MIN" ]; then 34 if [ "$SIZE" -lt "$MIN" ]; then
35 $SIZE=$MIN 35 SIZE=$MIN
36 fi 36 fi
37 37
38 SIZE=`expr $SIZE \+ $EXTRA` 38 SIZE=`expr $SIZE \+ $EXTRA`