Skip to main content

global_addons_pending_removal

Function global_addons_pending_removal 

Source
pub(crate) fn global_addons_pending_removal(
    storage: &Storage,
    booted_cfs: &BootedComposefs,
    staged_verity: &str,
    pinned_verities: &[String],
    bootloader_entries: &Vec<BootloaderEntry>,
) -> Result<Vec<String>>
Expand description

Installed global UKI addons that will be garbage-collected on the next update/switch.

A global addon is removed by GC once no deployment’s image references it This returns the installed global addons that survive the current update’s GC but are headed for removal on the next one unless they are re-referenced

We do this to show a notice/warning to the user that their global addon might be removed unless re-referenced by another image