Skip to content

Commit 8528c0f

Browse files
roypatzulinx86
authored andcommitted
fix: bump kernel version to 5.10 in devtool check
Firecracker stopped supporting kernel 4.14 a while ago, so our minimal supported kernel version these days is 5.10. Update the check in devtool to reflect this. Signed-off-by: Patrick Roy <[email protected]>
1 parent 19a5ce1 commit 8528c0f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/devtool

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -968,8 +968,8 @@ ensure_kvm_rw () {
968968
}
969969

970970
check_kernver () {
971-
KERN_MAJOR=4
972-
KERN_MINOR=14
971+
KERN_MAJOR=5
972+
KERN_MINOR=10
973973
(uname -r | awk -v MAJOR=$KERN_MAJOR -v MINOR=$KERN_MINOR '{ split($0,kver,".");
974974
if( (kver[1] + (kver[2] / 100) ) < MAJOR + (MINOR/100) )
975975
{

0 commit comments

Comments
 (0)