run_debug.sh now checks if it running on wsl and disables boot_flags if it is since it was causing issues with qemu

This commit is contained in:
aha480
2025-03-01 12:49:42 +00:00
parent 53d325749d
commit e8237f4610
+9
View File
@@ -94,6 +94,15 @@ check_test_res() {
trap 'check_test_res "tests completed"' ERR
# NOTE(ali): For some reason the values in `boot_flags` were causing issues
# on WSL, so they've been eradicated.
systemInfo=$(uname -r)
if [[ $systemInfo == *"WSL"* ]]; then
echo "Running on WSL2"
boot_flags=""
fi
cd "$project_root"
qemu-system-x86_64 -M q35 \
-cdrom "$build_dir/image.iso" \