From e1c6442872c9361b6b61a83adcce9cade2f2ecd2 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 19 Oct 2018 18:33:46 +0100 Subject: 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 --- meta/classes/image_types.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.2.3-korg