Browse Source

xtask: remove useless copy

/tmp/initrd.img is unused.
Tamir Duberstein 1 year ago
parent
commit
fe13b2eb41
1 changed files with 0 additions and 2 deletions
  1. 0 2
      xtask/src/run.rs

+ 0 - 2
xtask/src/run.rs

@@ -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]);