Hi Valdis,
Thanks for the quick reply.
I wanted to find out where the kernel images are stored to check their
size.
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. By looking into arch
folder it seems kernel image takes around 8 MB. Max. space is used by
drivers folder - I guess its the object files from all the drivers. I am
again left wondering if building kernel drivers multiple times keeps the
older driver object or replaces it with newer one.
I am little bit short on disk space right and hence needed to clear few
things out.
--
Thanks and Regards,
Sumit
On Tuesday 08 May 2018 01:13 AM, valdis.kletnieks@xxxxxx wrote:
On Tue, 08 May 2018 00:45:25 +0530, Sumit Kumar said:
Sorry, there is a typo : I meant make -jX in a kernel sandbox.
The same place it puts it if you don't use -jX. The exact answer will depend on
what sort of sandbox you're using, and how exactly you're setting things up,
and what system(s) you're building for.
For example: on x86_64, by default the kernel ends up in arch/x86/boot/bzImage.
If you have your build tree at /usr/src/linux, that means it ends up in /usr/src/linux/arch/x86/boot/bzImage.
If you're building in a directory called '/source/kernel' inside a chroot based at '/containers/build-kernel',
it will end up in /containers/build-kernel/source/kernel/arch/x86/boot/bzImage (as viewed from
outside the chroot).
Being more specific will require knowing what exactly you're trying to do....
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies