From b0640b473a2a62e6b389c40048739cc07fe64a93 Mon Sep 17 00:00:00 2001 From: Matei Barbu Date: Thu, 11 May 2023 22:41:45 +0300 Subject: [PATCH] cleanup generated files --- tools/labs/.gitignore | 1 + tools/labs/qemu/qemu.sh | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/labs/.gitignore b/tools/labs/.gitignore index ce629ee0746336..135684dc4dc132 100644 --- a/tools/labs/.gitignore +++ b/tools/labs/.gitignore @@ -3,6 +3,7 @@ vmlinux zImage serial.pts rootfs.img +disk0.img disk1.img disk2.img /*core-image-*.ext4 diff --git a/tools/labs/qemu/qemu.sh b/tools/labs/qemu/qemu.sh index 6073942b8fff78..4e11b6f6ccffee 100755 --- a/tools/labs/qemu/qemu.sh +++ b/tools/labs/qemu/qemu.sh @@ -19,6 +19,7 @@ esac echo info chardev | nc -U -l qemu.mon | egrep --line-buffered -o "/dev/pts/[0-9]*" | xargs -I PTS ln -fs PTS serial.pts & $qemu "$@" -monitor unix:qemu.mon -rm qemu.mon +rm qemu.mon rm serial.pts +rm serial_console.socket $SCRIPT_DIR/cleanup-net.sh