diff options
-rw-r--r-- | meta/classes/image_types.bbclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 7749b00098..f8692dc2ad 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
@@ -145,6 +145,12 @@ UBI_VOLNAME ?= "${MACHINE}-rootfs" | |||
145 | multiubi_mkfs() { | 145 | multiubi_mkfs() { |
146 | local mkubifs_args="$1" | 146 | local mkubifs_args="$1" |
147 | local ubinize_args="$2" | 147 | local ubinize_args="$2" |
148 | |||
149 | # Added prompt error message for ubi and ubifs image creation. | ||
150 | if [ -z "$mkubifs_args"] || [ -z "$ubinize_args" ]; then | ||
151 | bbfatal "MKUBIFS_ARGS and UBINIZE_ARGS have to be set, see http://www.linux-mtd.infradead.org/faq/ubifs.html for details" | ||
152 | fi | ||
153 | |||
148 | if [ -z "$3" ]; then | 154 | if [ -z "$3" ]; then |
149 | local vname="" | 155 | local vname="" |
150 | else | 156 | else |