mirror of
https://github.com/dynup/kpatch
synced 2025-04-27 13:37:57 +00:00
Merge pull request #645 from jpoimboe/kpatch-build-debug
kpatch-build: reduce the debug firehose
This commit is contained in:
commit
f6918090ff
@ -555,10 +555,8 @@ for i in $FILES; do
|
||||
KOBJFILE="$TEMPDIR/module/$KOBJFILE"
|
||||
fi
|
||||
cd $TEMPDIR
|
||||
debugopt=
|
||||
[[ $DEBUG -eq 1 ]] && debugopt=-d
|
||||
if [[ -e "orig/$i" ]]; then
|
||||
"$TOOLSDIR"/create-diff-object $debugopt "orig/$i" "patched/$i" "$KOBJFILE" "output/$i" 2>&1 |tee -a "$LOGFILE"
|
||||
"$TOOLSDIR"/create-diff-object "orig/$i" "patched/$i" "$KOBJFILE" "output/$i" 2>&1 |tee -a "$LOGFILE"
|
||||
rc="${PIPESTATUS[0]}"
|
||||
if [[ $rc = 139 ]]; then
|
||||
warn "create-diff-object SIGSEGV"
|
||||
|
Loading…
Reference in New Issue
Block a user