forked from brl/citadel-tools
use /usr/bin/dd instead of /bin/dd
This commit is contained in:
parent
79a52b7a46
commit
330557acfc
@ -112,7 +112,7 @@ impl UpdateBuilder {
|
||||
|
||||
fn prepend_empty_block(&mut self) -> Result<()> {
|
||||
let tmpfile = self.image().with_extension("tmp");
|
||||
cmd!("/usr/bin/dd", "if={} of={} bs=4096 seek=1 conv=sparse", self.image().display(), tmpfile.display())?;
|
||||
cmd!("/bin/dd", "if={} of={} bs=4096 seek=1 conv=sparse", self.image().display(), tmpfile.display())?;
|
||||
fs::rename(tmpfile, self.image())?;
|
||||
Ok(())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user