LFCS · Question #840
What script is included with the kernel source to patch a kernel?
The correct answer is B. patch-kernel. The patch-kernel script, typically found within the Linux kernel source tree, is specifically designed to automate the process of applying patches to the kernel source.
Question
Options
- Aupdate-kernel
- Bpatch-kernel
- Capply-patch
- Dpatch
How the community answered
(64 responses)- A5% (3)
- B92% (59)
- C3% (2)
Why each option
The `patch-kernel` script, typically found within the Linux kernel source tree, is specifically designed to automate the process of applying patches to the kernel source.
`update-kernel` is not a standard script included with the kernel source for patching, though similar names exist for other kernel-related tasks like updating initramfs.
The `patch-kernel` script is a utility, often included within Linux kernel source distributions or development toolsets, that is specifically used to apply patches, especially incremental ones, to the kernel source tree. It simplifies the patching process by managing patch levels and ensuring correct application.
`apply-patch` is a generic term, but not the specific name of the script included with the kernel source for this purpose.
`patch` is the general-purpose utility used to apply diff files, but `patch-kernel` is the specific *script* that orchestrates kernel patching, often utilizing the `patch` utility internally.
Concept tested: Linux kernel patching utilities
Topics
Community Discussion
No community discussion yet for this question.