From c72d82867d4dd7e2dddaea24e1e56b2349f1af03 Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Sun, 11 Nov 2018 11:53:01 +0100 Subject: meta: replace bberror with bbfatal When calling bbfatal, it reports error message and exit 1, it should be used to replace of 'bberror && exit 1' to avoid being redundant. Also fixed some incorrect bberror usages and typos. Signed-off-by: Ming Liu --- recipes-sota/aktualizr/aktualizr-ca-implicit-prov-creds.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'recipes-sota') diff --git a/recipes-sota/aktualizr/aktualizr-ca-implicit-prov-creds.bb b/recipes-sota/aktualizr/aktualizr-ca-implicit-prov-creds.bb index 41af7c0..e2d52da 100644 --- a/recipes-sota/aktualizr/aktualizr-ca-implicit-prov-creds.bb +++ b/recipes-sota/aktualizr/aktualizr-ca-implicit-prov-creds.bb @@ -33,7 +33,7 @@ do_install() { fi if [ -z ${SOTA_CAKEY_PATH} ]; then - bberror "SOTA_CAKEY_PATH should be set when using implicit provisioning" + bbfatal "SOTA_CAKEY_PATH should be set when using implicit provisioning" fi install -m 0700 -d ${D}${localstatedir}/sota -- cgit v1.2.3-54-g00ecf