diff options
author | Xi Ruoyao <xry111@xry111.site> | 2023-03-12 21:12:44 +0800 |
---|---|---|
committer | Xi Ruoyao <xry111@xry111.site> | 2023-03-12 21:12:44 +0800 |
commit | 70f30e9874cb1eed61cfec868e8c4e1f40ecff0b (patch) | |
tree | 663e85a564a209a04591644c5b4cfd01bd01842e /chapter02 | |
parent | 716077268052a05c243cb6473a6b556c23158bea (diff) | |
parent | c6fa6912e155ff5e6d44bd32e9745c5dad146a9d (diff) |
Merge branch 'trunk' into xry111/arm64
Diffstat (limited to 'chapter02')
-rw-r--r-- | chapter02/hostreqs.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chapter02/hostreqs.xml b/chapter02/hostreqs.xml index 78a9c0561..192eed8c1 100644 --- a/chapter02/hostreqs.xml +++ b/chapter02/hostreqs.xml @@ -203,7 +203,7 @@ ver_check() ver_kernel() { - kver=$(uname -r | grep -E -o '[0-9\.]+') + kver=$(uname -r | grep -E -o '^[0-9\.]+') if printf '%s\n' $1 $kver | sort --version-sort --check &>/dev/null then printf "OK: Linux Kernel $kver >= $1\n"; return 0; |