dissect-image: Fix wrong UUID logged on usr verity partition mismatch
When there's a partition mismatch the USR_VERITY branch logs usr_uuid in the mismatch message, but the check is actually against usr_verity_uuid.
This commit is contained in:
@@ -1488,7 +1488,7 @@ static int dissect_image(
|
||||
if (!sd_id128_is_null(usr_verity_uuid) && !sd_id128_equal(usr_verity_uuid, id)) {
|
||||
log_debug("Partition UUID '%s' does not match expected UUID '%s' derived from usr verity hash, ignoring.",
|
||||
SD_ID128_TO_UUID_STRING(id),
|
||||
SD_ID128_TO_UUID_STRING(usr_uuid));
|
||||
SD_ID128_TO_UUID_STRING(usr_verity_uuid));
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user