Fix QEMU regex to work for version 10 (#1463)

Fixes #1462

Signed-off-by: Seph Gentle <me@josephg.com>
This commit is contained in:
Seph Gentle 2025-05-23 11:04:21 +10:00 committed by GitHub
parent be8e649de0
commit 5e6f7c2bda
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -107,7 +107,7 @@ if(KernelPlatformQEMUArmVirt)
string(
REGEX
MATCH
"[0-9](\\.[0-9])+"
"[0-9]+(\\.[0-9]+)+"
QEMU_VERSION
"${QEMU_STDOUT_MESSAGE}"
)

View file

@ -44,7 +44,7 @@ if(KernelPlatformQEMURiscVVirt)
string(
REGEX
MATCH
"[0-9](\\.[0-9])+"
"[0-9]+(\\.[0-9]+)+"
QEMU_VERSION
"${QEMU_STDOUT_MESSAGE}"
)