Skip to content

Commit

Permalink
restore: Skip adding FirmwareData to FirmwareResponseData for Rose
Browse files Browse the repository at this point in the history
  • Loading branch information
nikias committed Oct 6, 2023
1 parent 7e5860d commit 523e567
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/restore.c
Original file line number Diff line number Diff line change
Expand Up @@ -2487,6 +2487,12 @@ static plist_t restore_get_rose_firmware_data(restored_client_t restore, struct
error("ERROR: No 'Rap,Ticket' in TSS response, this might not work\n");
}

/* skip FirmwareData for newer versions */
if (client->build_major >= 20) {
debug("DEBUG: Not adding FirmwareData.\n");
return response;
}

comp_name = "Rap,RTKitOS";
if (build_identity_get_component_path(build_identity, comp_name, &comp_path) < 0) {
error("ERROR: Unable to get path for '%s' component\n", comp_name);
Expand Down

0 comments on commit 523e567

Please sign in to comment.