xtask: remove useless copy

/tmp/initrd.img is unused.
pull/795/head
Tamir Duberstein 12 months 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:?}") 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}")); let mut qemu = Command::new(format!("qemu-system-{guest_arch}"));
if let Some(machine) = machine { if let Some(machine) = machine {
qemu.args(["-machine", machine]); qemu.args(["-machine", machine]);

Loading…
Cancel
Save