[Bug 1570012] [NEW] kpatch-build build log file needs to be smaller

Launchpad Bug Tracker 1570012 at bugs.launchpad.net
Wed Apr 13 20:25:06 UTC 2016


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

The .kpatch/build.log file is enormous because it is carrying around the
entire build log for two kernel builds, when realistically it only needs
to keep the last build performed.

There's no reason to hang on to the initial kernel build after it is
complete, as a) it should normally complete without error, and b) if
there is a problem, the script will bail out there anyway. The script
needs the second build output for checking for unresolved symbols, but
since this build is only touching files modified by the patch, it should
be much smaller.

Running the build in non-debug mode cuts down on noise as well, though
some output is still necessary to avoid timeouts. Adding a function to
output dots during the kernel builds will take care of timeouts without
cluttering the screen.

** Affects: kpatch (Ubuntu)
     Importance: Undecided
     Assignee: Ben Romer (bromer)
         Status: New


** Tags: patch
-- 
kpatch-build build log file needs to be smaller
https://bugs.launchpad.net/bugs/1570012
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list