From aaa584a85615a6794dccea5ae8b070f85732e006 Mon Sep 17 00:00:00 2001 From: Chris J Arges Date: Fri, 30 Oct 2015 10:27:00 -0500 Subject: [PATCH] kpatch-build: edit script description This script works on other distros and can target source linux directories. Adjust comments to match this. Signed-off-by: Chris J Arges --- kpatch-build/kpatch-build | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/kpatch-build/kpatch-build b/kpatch-build/kpatch-build index b055e23..f983819 100755 --- a/kpatch-build/kpatch-build +++ b/kpatch-build/kpatch-build @@ -25,12 +25,10 @@ # replace modified functions in the kernel such that the # patched code takes effect. -# This script currently only works on Fedora and will need to be adapted to -# work on other distros. - # This script: -# - Downloads the kernel src rpm for the currently running kernel -# - Unpacks and prepares the src rpm for building +# - Either uses a specified kernel source directory or downloads the kernel +# source package for the currently running kernel +# - Unpacks and prepares the source package for building if necessary # - Builds the base kernel (vmlinux) # - Builds the patched kernel and monitors changed objects # - Builds the patched objects with gcc flags -f[function|data]-sections