diff options
author | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2023-03-09 19:51:31 -0600 |
---|---|---|
committer | Bruce Dubbs <bdubbs@linuxfromscratch.org> | 2023-03-09 19:51:31 -0600 |
commit | 6e4dfa7528a5098c09ad5dcfe26ba2b2e504a3b1 (patch) | |
tree | f0323e7ffc82ce5f969318e167eb9807d8f89945 /chapter02 | |
parent | 271c85653827212cacc4a9973ee31b6c6c30f6a3 (diff) |
Tweak kernel version in host requirements
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 e3a06df4e..801a7e992 100644 --- a/chapter02/hostreqs.xml +++ b/chapter02/hostreqs.xml @@ -197,7 +197,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; |