kernel image path

valdis.kletnieks at vt.edu valdis.kletnieks at vt.edu
Tue May 8 00:33:45 EDT 2018


On Tue, 08 May 2018 03:12:31 +0530, Sumit Kumar said:
> My local kernel repository size has inflated to around 14 GB after
> building kernel a few times. I was wondering if it keeps previous images
> as well which could be taking a lot of disk space.

Not sure what you mean by "local kernel repository".  The kernel build directory
should use pretty much the same amount of disk each time you build it (unless
you're using O= pointing at a different place each time, in which case it's doing
exactly what you told it to do...)

Note that if you install a lot of kernels, you'll end up with lots of
subdirectories in /lib/modules if you don't clear them out.  Particularly a
problem if you build a kernel a week (like I do) and use a "distro" config that
builds almost everything (I don't do that).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 486 bytes
Desc: not available
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180508/59d762c6/attachment.sig>


More information about the Kernelnewbies mailing list