I am trying to recreate an environment for debugging purposes. I require Fedora 20 specific kernel version (in this case its 3.17.7-200.fc20.x86_64).
I have manually compiled vanilla kernel (3.17.7) from tar package.
cd /usr/src/kernels/linux-3.17.7 make oldconfig make make install make module_install
And would like to do same with Fedora sources, however it seems I am missing some common knowledge, as I am not able to obtain proper sources.
I have installed Fedora with yum install kernel, but that compiles a default version (I need to edit .config) and removes the all sources afterwards, leaving only initrm, systemmap and vmlinuz behind.
I have tried to:
yum install kernel-devel kernel-headers
for given F20 version.
But when I go to the
and try to make but I always get errors about missing files. Closer inspection of directories and files shows that, when compared to Vanilla kernel directory, dir with fedora kernel sources is missing a lot of files. Does it mean that fedora kernel-devels files are just patches?
My end goal in here is to compile a specific Fedora kernel with some edits to .config file. I would also appreciate some basic background where I am doing something wrong. Regards