mirror of
https://github.com/dynup/kpatch
synced 2025-05-06 18:07:57 +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"
|
die "no changed objects found"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
grep -q vmlinux "$SRCDIR/Module.symvers" || die "truncated $SRCDIR/Module.symvers file"
|
||||||
|
|
||||||
# Read as words, no quotes.
|
# Read as words, no quotes.
|
||||||
# shellcheck disable=SC2013
|
# shellcheck disable=SC2013
|
||||||
for i in $(cat "$TEMPDIR/changed_objs")
|
for i in $(cat "$TEMPDIR/changed_objs")
|
||||||
|
Loading…
Reference in New Issue
Block a user