jjb: Extend version range of genheaders patch to cover v4.18.16-rt9-rebase
authorKienan Stewart <kstewart@efficios.com>
Tue, 29 Aug 2023 13:18:51 +0000 (09:18 -0400)
committerKienan Stewart <kstewart@efficios.com>
Tue, 29 Aug 2023 13:18:51 +0000 (09:18 -0400)
Change-Id: I1d5ea08b1fd3786e21be77e046a548d3bd633b26

scripts/lttng-modules/param-build.sh

index 6a96fc098610bc4218d525e6a4e9d3ad4ca23d6e..b3d5abc68b5c2605053e9042ab3a88e168f15673 100644 (file)
@@ -367,8 +367,11 @@ build_linux_kernel() {
         patch_linux_kernel 9feeb638cde083c737e295c0547f1b4f28e99583
     fi
 
-    if { vergte "${kversion}" "4.12"; } && { verlt "${kversion}" "4.18"; } ; then
-        # Old kernels can fail to build while on newer host kernels
+    if { vergte "${kversion}" "4.12"; } && { verlt "${kversion}" "4.19"; } ; then
+        # Old kernels can fail to build while on newer host kernels with errors
+        # such as:
+        #   In file included from scripts/selinux/genheaders/genheaders.c:19:
+        #   ./security/selinux/include/classmap.h:249:2: error: #error New address family defined, please update secclass_map.
         # @see https://gitlab.com/linux-kernel/stable/-/commit/dfbd199a7cfe3e3cd8531e1353cdbd7175bfbc5e
         #
         patch_linux_kernel dfbd199a7cfe3e3cd8531e1353cdbd7175bfbc5e
This page took 0.028187 seconds and 4 git commands to generate.