Skip to content

Commit

Permalink
Apply kernel patches before compiling
Browse files Browse the repository at this point in the history
Signed-off-by: Kyle Harding <[email protected]>
  • Loading branch information
klutchell committed Dec 14, 2023
1 parent 9b428b5 commit 542f561
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ ARG KERNEL_BRANCH=5.10
RUN git clone --depth 1 -c advice.detachedHead=false \
--branch "v${KERNEL_BRANCH}" https://github.com/torvalds/linux.git .

COPY vmlinux/*.patch ./

RUN git apply -v ./*.patch

###############################################

FROM linux.git AS vmlinux
Expand Down

0 comments on commit 542f561

Please sign in to comment.