mirror of
https://github.com/dynup/kpatch
synced 2025-02-07 20:51:34 +00:00
Merge pull request #873 from jpoimboe/detect-truncated-Module.symvers
kpatch-build: detect truncated Module.symvers
This commit is contained in:
commit
a8133b1dc3
@ -726,6 +726,8 @@ if [[ ! -e "$TEMPDIR/changed_objs" ]]; then
|
||||
die "no changed objects found"
|
||||
fi
|
||||
|
||||
grep -q vmlinux "$SRCDIR/Module.symvers" || die "truncated $SRCDIR/Module.symvers file"
|
||||
|
||||
# Read as words, no quotes.
|
||||
# shellcheck disable=SC2013
|
||||
for i in $(cat "$TEMPDIR/changed_objs")
|
||||
|
Loading…
Reference in New Issue
Block a user