Rewrite install_into_rootfs doc comment to omit temp-file detail
CI / build (pull_request) Successful in 13s

This commit is contained in:
2026-09-10 12:16:05 +02:00
parent 3ee93b320e
commit f6b0721f06
+2 -2
View File
@@ -87,8 +87,8 @@ pub fn build_exec_script(command: &str, env: &[String], working_dir: Option<&str
lines
}
/// Write `content` to a temp file and install it into the mounted rootfs at
/// `<mount>/slim/<name>` with the given mode.
/// Install `content` into the mounted rootfs at `<mount>/slim/<name>` with
/// the given mode.
fn install_into_rootfs(mount: &str, name: &str, mode: &str, content: &str) -> Result<()> {
let temp = tempfile::NamedTempFile::new()?;
fs::write(temp.path(), content)?;