Merge pull request #645 from jpoimboe/kpatch-build-debug

kpatch-build: reduce the debug firehose
This commit is contained in:
Jessica Yu 2016-12-20 10:42:06 -08:00 committed by GitHub
commit f6918090ff

View File

@ -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"