kpatch-build: skip *.mod.o files

As seen on RHEL7
This commit is contained in:
Josh Poimboeuf 2014-06-14 10:04:01 -05:00
parent 16eb6439b8
commit 6770877a9d

View File

@ -338,6 +338,7 @@ while read line; do
init/version.o) continue ;;
scripts/mod/devicetable-offsets.s) continue ;;
scripts/mod/file2alias.o) continue ;;
*.mod.o) continue ;;
arch/x86/kernel/asm-offsets.s) die "a struct definition change was detected" ;;
\[M\]) obj=$3 ;;
*) obj=$2 ;;