Skip to content

Commit b7a0dc8

Browse files
committed
ci: clean parm
1 parent da94fdc commit b7a0dc8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/test-qemu.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,11 @@ jobs:
6868
6969
echo "Rootfs setup completed"
7070
else
71-
echo "No vmrootfs_name specified, skipping rootfs download"
71+
echo "Removing rootfs device configuration from qemu-${{ matrix.arch }}.toml..."
72+
sed -i '/-device/,/virtio-blk-device,drive=disk0/d' ".github/workflows/qemu-${{ matrix.arch }}.toml"
73+
sed -i '/-drive/,/id=disk0,if=none,format=raw,file=${workspaceFolder}\/tmp\/rootfs.img/d' ".github/workflows/qemu-${{ matrix.arch }}.toml"
74+
sed -i 's/root=\/dev\/vda rw //' ".github/workflows/qemu-${{ matrix.arch }}.toml"
75+
echo "Rootfs device configuration removed"
7276
fi
7377
7478
- name: Run tests

0 commit comments

Comments
 (0)