diff options
author | Leah Rowe <leah@libreboot.org> | 2023-05-14 08:30:21 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-05-14 08:30:21 +0100 |
commit | d34f381301279deb8e50a1fb1b08391ddf329ee0 (patch) | |
tree | 0aaf0a1d2216320f637713dbdb2033e126a6e048 /resources | |
parent | 5da7554a3b55994071c5a036965035a2d14f89b7 (diff) |
blobutil/inject: check me path
Diffstat (limited to 'resources')
-rwxr-xr-x | resources/scripts/blobs/inject | 4 |
1 files changed, 3 insertions, 1 deletions
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 |