Answer the question
In order to leave comments, you need to log in
How to check that the patch will fit the updated kernel sources?
After the next system update, the network card stopped working. Got a kernel patch.
How to check that the patch will fit the updated kernel sources.
Which command to check if the patch will be applied to the sources:
patch --dry-run
patch --applicable
patch --unified
patch -pl
patch --context
Answer the question
In order to leave comments, you need to log in
The patch contains relative paths to files and must be applied in a specific directory. This should normally be the root directory of the project, but the patch contains 1 level more directories. The extra level is truncated with the -p1 option. This is a unit, not a lowercase l, as you wrote.patch -p1 --dry-run < patch
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question