Explorar o código

xtask: remove useless copy

/tmp/initrd.img is unused.
Tamir Duberstein hai 1 ano
pai
achega
fe13b2eb41
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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]);