Kernel compile seems to be longer/larger than reasonably expected?
I have experience with Centos 7, but none with Ubuntu.
I installed what I believe to be the latest version of Ubuntu, and have installed kernel sources (5.8.10).
uname -r returns "5.8.0-44-generic".
My questions is, how do I compile a single version of the kernel specific to the OS I am compiling on?
Currently, my last compile ran 14 hours (initial compile on Centos 7 was 2-4 hours) and the resulting files generated ate up over 20G's of disk space.
I then found this link - https:/
which contained these instructions -
"to build a specific target, use this command:
fakeroot debian/rules clean
AUTOBUILD=1 NOEXTRAS=1 fakeroot debian/rules binary-FLAVOUR
Where FLAVOUR is one of the main flavours of the kernel (e.g. generic)"
so I ran -
fakeroot debian/rules clean
sudo AUTOBUILD=1 NOEXTRAS=1 fakeroot debian/rules binary-generic
I did this and am currently 5 hours into the compile and have increased disk usage by aroungd10G.
Does anyone know what I might be doing wrong? I simply want to compile an original kernel source without any modifications and prove that I can compile and install properly. At that point I can then merge some modifications into the code and watch it blow up.
Thanks in advance,
Roger
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Roger Goeb for more information if necessary.