diff --git a/buildroot-external/scripts/ota.sh b/buildroot-external/scripts/ota.sh index 4f6c101c7..cd7bbfc2a 100755 --- a/buildroot-external/scripts/ota.sh +++ b/buildroot-external/scripts/ota.sh @@ -41,7 +41,7 @@ function create_ota_update() { ) > "${rauc_folder}/manifest.raucm" # SPL - if [ "${BOOT_SYS}" == "spl" ]; then + if [[ "${BOOT_SYS}" =~ (spl|mbr) ]]; then cp -f "${spl}" "${rauc_folder}/spl.img" (