From 2cf9543bedc68b29760f85622ae228a256082ac6 Mon Sep 17 00:00:00 2001 From: Peter Georg Date: Mon, 19 Apr 2021 22:51:25 +0200 Subject: compat: update and improve detection of CentOS Stream 8 CentOS Stream 8 by now (4.18.0-301.1.el8) reports RHEL_MINOR=5. The current RHEL 8 minor release is still 3. RHEL 8.4 is in beta. Replace equal comparison by greater equal to (hopefully) be a little bit more future proof. Signed-off-by: Peter Georg Signed-off-by: Jason A. Donenfeld --- src/compat/compat.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/compat/compat.h') diff --git a/src/compat/compat.h b/src/compat/compat.h index 0227204..26a6d7e 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -16,7 +16,7 @@ #define ISRHEL7 #elif RHEL_MAJOR == 8 #define ISRHEL8 -#if RHEL_MINOR == 4 +#if RHEL_MINOR >= 4 #define ISCENTOS8S #endif #endif -- cgit v1.2.3