kpatch-build build log file needs to be smaller
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kpatch (Ubuntu) |
Fix Released
|
Wishlist
|
Ben Romer | ||
Xenial |
Fix Released
|
Wishlist
|
Unassigned |
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.
Changed in kpatch (Ubuntu): | |
importance: | Undecided → Wishlist |
Changed in kpatch (Ubuntu): | |
status: | New → In Progress |
Changed in kpatch (Ubuntu Xenial): | |
importance: | Undecided → Wishlist |
Changed in kpatch (Ubuntu): | |
milestone: | xenial-updates → none |
Changed in kpatch (Ubuntu Xenial): | |
milestone: | none → xenial-updates |
The attachment "Cut down on file size" seems to be a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. If the attachment isn't a patch, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are member of the ~ubuntu-sponsors, unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issue please contact him.]