refactor(kernel): report kernel download progress through the sink

get_default_kernel emits Progress events for the APK transfer instead
of drawing a bar to stderr from inside the library.
This commit is contained in:
2026-10-03 00:03:26 +02:00
parent 3fb4be667c
commit 71768f71d7
2 changed files with 24 additions and 19 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ fn main() -> Result<()> {
}
None => {
veprintln!("QEMU mode: downloading default kernel...");
kernel::get_default_kernel(cache.dir(), &arch)?
kernel::get_default_kernel(cache.dir(), &arch, &ecr::NoProgress)?
}
};