can I safely remove my $HOME/rpmbuild/ after compiling and installing customed Kernel
I just downloaded the kernel source, compiled and installed it.
And it worked, the only downside is that it left my partition with roughly 100 mb, and after seeing the size of $HOME/rpmbuild/ , turns out it is more than 8 Gb..
So the question is can I safely delete such folder in order to create more space.
You can but if you want to do any packaging in the future you could just:
I'm not familiar with the $HOME/rpmbuild directory or it's contents. But the answer to your question depends on how the kernel was built and installed.
If the rpmbuild directory contains the source tree and you built rpm packages for the kernel (including the headers), I would think it would be safe to remove that directory.
On the other hand, if you built the headers and kept it in the /usr directory of the source tree, I would not recommend removing the rpmbuild directory. Doing so, will also remove the kernel headers, which means you will not be able to build other packages that depends on these headers.
In either case, it's always recommended that you keep the sources around should you find a problem with the newly built kernel and need to re-configure and re-build it. This saves a lot of build time.
Have you checked the contents of the rpmbuild directory? That seems to be unusually large to me.
|All times are GMT -5. The time now is 06:12 AM.|