From d34f381301279deb8e50a1fb1b08391ddf329ee0 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 14 May 2023 08:30:21 +0100 Subject: blobutil/inject: check me path --- resources/scripts/blobs/inject | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/resources/scripts/blobs/inject b/resources/scripts/blobs/inject index 0664d96a..b8fe1c9b 100755 --- a/resources/scripts/blobs/inject +++ b/resources/scripts/blobs/inject @@ -258,7 +258,9 @@ inject_blob_intel_me() { rom="${1}" - # TODO: check if CONFIG_ME_BIN_PATH is empty + if [ -z ${CONFIG_ME_BIN_PATH} ]; then + fail "CONFIG_ME_BIN_PATH not set" + fi _me_location=${CONFIG_ME_BIN_PATH#../../} printf 'adding intel management engine\n' ${ifdtool} -i me:${_me_location} ${rom} -O ${rom} || exit 1 -- cgit v1.2.1