[why] when run job in riscv64 qemu, _system_arch=unknown, it cause qemu quit, so add it.
test: /srv/result/iperf/2021-01-06/vm-8p64g/debian-sid-riscv64/tcp-30/z9.281254
Signed-off-by: Liu Yinsi liuyinsi@163.com --- lib/detect-system.sh | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/lib/detect-system.sh b/lib/detect-system.sh index 90006c8f0..1b344b4f0 100755 --- a/lib/detect-system.sh +++ b/lib/detect-system.sh @@ -31,6 +31,8 @@ parse_executable_arch() _system_arch=aarch64;; *ARM) _system_arch=arm;; + *RISC-V) + _system_arch=riscv64;; *) _system_arch=unknown return 1;;