Skip to content

Commit 43f7bf6

Browse files
committed
install: Init ostree repo more quietly
Signed-off-by: Colin Walters <[email protected]>
1 parent 5825091 commit 43f7bf6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

lib/src/install.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,10 @@ async fn initialize_ostree_root_from_self(
306306

307307
let repopath = &rootfs.join("ostree/repo");
308308
for (k, v) in [("sysroot.bootloader", "none"), ("sysroot.readonly", "true")] {
309-
Task::new_and_run(
310-
"Configuring ostree repo",
311-
"ostree",
312-
["config", "--repo", repopath.as_str(), "set", k, v],
313-
)?;
309+
Task::new("Configuring ostree repo", "ostree")
310+
.args(["config", "--repo", repopath.as_str(), "set", k, v])
311+
.quiet()
312+
.run()?;
314313
}
315314
Task::new_and_run(
316315
"Initializing sysroot",

0 commit comments

Comments
 (0)