Skip to content

Commit

Permalink
fixup! add check that the input manifest is 'clean'
Browse files Browse the repository at this point in the history
  • Loading branch information
ejoerns committed Aug 25, 2024
1 parent 5dbdd54 commit 5fc5049
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/manifest.c
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,11 @@ gboolean check_manifest_input(const RaucManifest *mf, GError **error)
"Unexpected size %"G_GOFFSET_FORMAT " for image %s in input manifest", image->checksum.size, image->filename);
return FALSE;
}
if (image->converted && image->converted->len) {
g_set_error(error, R_MANIFEST_ERROR, R_MANIFEST_CHECK_ERROR,
"Unexpected 'converted' option in input manifest");
return FALSE;
}
}

return TRUE;
Expand Down

0 comments on commit 5fc5049

Please sign in to comment.