forked from brl/citadel-tools
pass arguments when installing rootfs to partitions
This commit is contained in:
parent
29f487a16e
commit
928e8cc41c
@ -127,9 +127,9 @@ impl Installer {
|
|||||||
|
|
||||||
self.output("\n")?;
|
self.output("\n")?;
|
||||||
self.header("Installing rootfs partitions\n")?;
|
self.header("Installing rootfs partitions\n")?;
|
||||||
let args = format!("install-rootfs {}", self.artifact_path("citadel-rootfs.img").display());
|
let rootfs = self.artifact_path("citadel-rootfs.img");
|
||||||
self.cmd(CITADEL_IMAGE, &args)?;
|
self.cmd(CITADEL_IMAGE, format!("install-rootfs --skip-sha {}", rootfs.display()))?;
|
||||||
self.cmd(CITADEL_IMAGE, &args)?;
|
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))?;
|
self.cmd(LSBLK, format!("-o NAME,SIZE,TYPE,FSTYPE {}", &self.target_device))?;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user