build_configuration_analysis

Function build_configuration_analysis 

Source
pub fn build_configuration_analysis(
    configs: Vec<CfsConfigurationResponse>,
    components: Vec<Component>,
    boot_params: Vec<BootParameters>,
    images: Vec<Image>,
) -> Vec<ConfigurationAnalysis>
Expand description

Pure linker for the configuration-deletion-safety analysis.

A configuration is flagged unsafe to delete if either:

  1. some CFS component lists it as desired_config, or
  2. some IMS image built from it is the boot image of any BSS boot-parameter record.

The output is one row per configuration in configs, sorted by last_updated ascending (oldest first); ties on the timestamp break by name ascending.