In the firmware documentation it states that runtime firmware has a file, and flashed firmware has a GUID.
runtime
flashed
In as_component_yaml_emit_provides() the following code seems to have this reversed:
as_component_yaml_emit_provides()
if (fw_runtime != NULL) { for (i = 0; i < fw_runtime->len; i++) { const gchar *value = g_ptr_array_index (fw_runtime, i); as_yaml_mapping_start (emitter); as_yaml_emit_entry (emitter, "type", "runtime"); as_yaml_emit_entry (emitter, "guid", value); as_yaml_mapping_end (emitter); } } if (fw_flashed != NULL) { for (i = 0; i < fw_flashed->len; i++) { const gchar *value = g_ptr_array_index (fw_flashed, i); as_yaml_mapping_start (emitter); as_yaml_emit_entry (emitter, "type", "flashed"); as_yaml_emit_entry (emitter, "file", value); as_yaml_mapping_end (emitter); } }
Is the YAML code wrong?
The text was updated successfully, but these errors were encountered:
In the firmware documentation it states that
runtimefirmware has a file, andflashedfirmware has a GUID.In
as_component_yaml_emit_provides()the following code seems to have this reversed:Is the YAML code wrong?
The text was updated successfully, but these errors were encountered: