kpatch-build: add lib/ files to kpatch-gcc skip-list

None of the lib/* file are built with fentry calls, so we can't patch
them.  Add these files to the list that kpatch-gcc skips.

Signed-off-by: Joe Lawrence <joe.lawrence@redhat.com>
This commit is contained in:
Joe Lawrence 2018-06-11 11:38:31 -04:00
parent dc6530f11c
commit 9f7c76b9c1

View File

@ -41,6 +41,7 @@ if [[ "$TOOLCHAINCMD" = "gcc" ]] ; then
arch/x86/entry/vdso/*|\
drivers/firmware/efi/libstub/*|\
arch/powerpc/kernel/prom_init.o|\
lib/*|\
.*.o|\
*/.lib_exports.o)
break