aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-19 18:33:46 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-10-20 22:39:25 +0100
commite1c6442872c9361b6b61a83adcce9cade2f2ecd2 (patch)
tree1e6a3148138be7ad4b699a73bc197d7c1312cbbc
parent52fbf46a32f03266e31811fde7d4466e7ef85fc8 (diff)
downloadopenembedded-core-contrib-e1c6442872c9361b6b61a83adcce9cade2f2ecd2.tar.gz
openembedded-core-contrib-e1c6442872c9361b6b61a83adcce9cade2f2ecd2.tar.bz2
openembedded-core-contrib-e1c6442872c9361b6b61a83adcce9cade2f2ecd2.zip
image_types: Fix a shell syntax error in do_image_ubi
| DEBUG: Executing shell function do_image_ubi | /home/pokybuild/yocto-worker/nightly-oe-selftest/build/build-st-31289/tmp/work/qemux86_64-poky-linux/core-image-minimal/1.0-r0/temp/run.do_image_ubi.7928: 123: [: missing ] Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/image_types.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass
index 00a00d318f..05e5b0a2e0 100644
--- a/meta/classes/image_types.bbclass
+++ b/meta/classes/image_types.bbclass
@@ -154,7 +154,7 @@ multiubi_mkfs() {
local ubinize_args="$2"
# Added prompt error message for ubi and ubifs image creation.
- if [ -z "$mkubifs_args"] || [ -z "$ubinize_args" ]; then
+ if [ -z "$mkubifs_args" ] || [ -z "$ubinize_args" ]; then
bbfatal "MKUBIFS_ARGS and UBINIZE_ARGS have to be set, see http://www.linux-mtd.infradead.org/faq/ubifs.html for details"
fi