From 928e8cc41c55405573b920e27c07435fb5f28b8f Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Thu, 17 Jan 2019 09:11:50 -0500 Subject: [PATCH] pass arguments when installing rootfs to partitions --- citadel-install/src/installer.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/citadel-install/src/installer.rs b/citadel-install/src/installer.rs index 44353a8..82a4541 100644 --- a/citadel-install/src/installer.rs +++ b/citadel-install/src/installer.rs @@ -127,9 +127,9 @@ impl Installer { self.output("\n")?; self.header("Installing rootfs partitions\n")?; - let args = format!("install-rootfs {}", self.artifact_path("citadel-rootfs.img").display()); - self.cmd(CITADEL_IMAGE, &args)?; - self.cmd(CITADEL_IMAGE, &args)?; + let rootfs = self.artifact_path("citadel-rootfs.img"); + self.cmd(CITADEL_IMAGE, format!("install-rootfs --skip-sha {}", rootfs.display()))?; + self.cmd(CITADEL_IMAGE, format!("install-rootfs --skip-sha --no-prefer {}", rootfs.display()))?; self.cmd(LSBLK, format!("-o NAME,SIZE,TYPE,FSTYPE {}", &self.target_device))?;