diff --git a/src/bootupd.rs b/src/bootupd.rs index 0266a736..9092470d 100644 --- a/src/bootupd.rs +++ b/src/bootupd.rs @@ -51,6 +51,7 @@ pub(crate) fn install(source_root: &str, dest_root: &str, device: &str) -> Resul let meta = component .install(&source_root, dest_root, device) .with_context(|| format!("installing component {}", component.name()))?; + log::info!("Installed {} {}", component.name(), meta.meta.version); state.installed.insert(component.name().into(), meta); } diff --git a/src/efi.rs b/src/efi.rs index 12a051c4..ddabd986 100644 --- a/src/efi.rs +++ b/src/efi.rs @@ -105,6 +105,7 @@ impl Efi { if !status.success() { anyhow::bail!("Failed to unmount {mount:?}: {status:?}"); } + log::trace!("Unmounted"); } Ok(()) } @@ -261,6 +262,7 @@ impl Component for Efi { } else { anyhow::bail!("No update metadata for component {} found", self.name()); }; + log::debug!("Found metadata {}", meta.version); let srcdir_name = component_updatedirname(self); let ft = crate::filetree::FileTree::new_from_dir(&src_root.sub_dir(&srcdir_name)?)?; let destdir = &self.ensure_mounted_esp(Path::new(dest_root))?;