Compare commits

...

1 Commits

Author SHA1 Message Date
thiagoftsm
d42052959d netdata_patch_1_2_2: Apply patch to run on Debian 10 2023-07-12 14:17:23 +00:00

View File

@@ -74,6 +74,10 @@ static __u32 get_debian_kernel_version(struct utsname *info)
if (sscanf(p, "Debian %u.%u.%u", &major, &minor, &patch) != 3)
return 0;
// Patch to run on Debian 10
if (major == 4 && minor == 19 && patch > 255)
return KERNEL_VERSION(major, minor, 255);
return KERNEL_VERSION(major, minor, patch);
}