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

Mathew Hodson mathew.hodson at gmail.com
Thu Apr 14 21:59:49 UTC 2016


** Changed in: kpatch (Ubuntu)
   Importance: Undecided => Wishlist

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1570012

Title:
  kpatch-build build log file needs to be smaller

Status in kpatch package in Ubuntu:
  New

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kpatch/+bug/1570012/+subscriptions



More information about the Ubuntu-sponsors mailing list