From fcf9675bc4a0bb7dbf76d8ae27cc4a9c8835aab9 Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Wed, 24 Apr 2024 10:01:20 -0500 Subject: [PATCH] Apply patch for kernel 6.8 From GitHub [Pull Request #26][0]. Fixes compiling the driver on Kernel 6.8 (Fedora 39 and 40). [0]: https://github.com/google/gasket-driver/pull/26 --- Containerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Containerfile b/Containerfile index aaf9d60..6d5f2d5 100644 --- a/Containerfile +++ b/Containerfile @@ -22,7 +22,8 @@ RUN install -o 101 -g 101 -d /usr/src/gasket-driver USER 101:101 # Build the gasket kernel module -RUN git clone https://github.com/google/gasket-driver.git /usr/src/gasket-driver +RUN git clone -b https://github.com/robertzaage/gasket-driver.git /usr/src/gasket-driver +RUN git -C /usr/src/gasket-driver checkout 2b0e08974e486002a70616f3c272ffb2203e044b RUN make \ -C /usr/src/kernels/$(rpm -q --qf %{V}-%{R}.%{ARCH} kernel-devel) \ M=/usr/src/gasket-driver/src \