From 330557acfc10a21324d72d6219e9ce9cdc90a8e7 Mon Sep 17 00:00:00 2001 From: Bruce Leidl Date: Fri, 16 Aug 2019 19:36:16 -0400 Subject: [PATCH] use /usr/bin/dd instead of /bin/dd --- citadel-tool/src/mkimage/build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/citadel-tool/src/mkimage/build.rs b/citadel-tool/src/mkimage/build.rs index 2bf6278..c9d64cf 100644 --- a/citadel-tool/src/mkimage/build.rs +++ b/citadel-tool/src/mkimage/build.rs @@ -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(()) }