Skip to content

Commit

Permalink
xtask: remove useless copy
Browse files Browse the repository at this point in the history
/tmp/initrd.img is unused.
  • Loading branch information
tamird committed Sep 27, 2023
1 parent cbe9cd9 commit fe13b2e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions xtask/src/run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -345,8 +345,6 @@ pub fn run(opts: Options) -> Result<()> {
bail!("{gen_init_cpio:?} failed: {output:?}")
}

copy(&initrd_image, "/tmp/initrd.img").context("copy failed")?;

let mut qemu = Command::new(format!("qemu-system-{guest_arch}"));
if let Some(machine) = machine {
qemu.args(["-machine", machine]);
Expand Down

0 comments on commit fe13b2e

Please sign in to comment.