xtask: remove useless copy

/tmp/initrd.img is unused.
pull/795/head
Tamir Duberstein 1 year ago
parent cbe9cd9133
commit fe13b2eb41
No known key found for this signature in database

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

Loading…
Cancel
Save