diff options
| author | Matthias Andreas Benkard <code@mail.matthias.benkard.de> | 2017-12-05 13:53:29 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-12-05 13:53:29 +0100 |
| commit | 79dd67588ad6299d55367b0b0c86042d19ce5f04 (patch) | |
| tree | b2a2dbe4116ee844a383ca794e4e9de590af0f20 /classes | |
| parent | b07e63b2a2369cedc9a48c86e483e892941185c3 (diff) | |
| download | meta-updater-79dd67588ad6299d55367b0b0c86042d19ce5f04.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.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/image_types_ota.bbclass b/classes/image_types_ota.bbclass index 9443987..1b487e7 100644 --- a/classes/image_types_ota.bbclass +++ b/classes/image_types_ota.bbclass | |||
| @@ -28,7 +28,7 @@ calculate_size () { | |||
| 28 | fi | 28 | fi |
| 29 | 29 | ||
| 30 | if [ "$SIZE" -lt "$MIN" ]; then | 30 | if [ "$SIZE" -lt "$MIN" ]; then |
| 31 | $SIZE=$MIN | 31 | SIZE=$MIN |
| 32 | fi | 32 | fi |
| 33 | 33 | ||
| 34 | SIZE=`expr $SIZE \+ $EXTRA` | 34 | SIZE=`expr $SIZE \+ $EXTRA` |
