From 79374b19b7174a3785c2474d00fa94fe950cf7a4 Mon Sep 17 00:00:00 2001 From: Joseph Marrero Corchado Date: Fri, 17 Dec 2021 15:43:17 -0500 Subject: [PATCH] Update rust/src/client.rs Co-authored-by: Colin Walters --- rust/src/client.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rust/src/client.rs b/rust/src/client.rs index a91383dd06..d1c5c20489 100644 --- a/rust/src/client.rs +++ b/rust/src/client.rs @@ -236,6 +236,11 @@ pub(crate) fn client_render_download_progress( } } +/// Install packages live into the running root filesystem. +/// This is only intended for use as part of a container builds. +/// For now, we fork/exec microdnf because this is exactly what its +/// main use case is, but in the future we may change the rpm-ostree code +/// to handle this more directly. pub(crate) fn microdnf_install(args: Vec) -> Result<()> { let mut microdnf_command = "microdnf"; let alt_microdnf_location = "/usr/lib/rpm-ostree/microdnf";