How Do I Get The Kernel Srpm?
I tried to follow the work flow shown in https://wiki.CentOS.org/Sources, but it does not seem to work:
I did this:
mkdir CentOS
pushd CentOS
git clone https://git.CentOS.org/git/CentOS-git-common.git git clone https://git.CentOS.org/git/rpms/kernel.git pushd kernel/
git checkout c6
../CentOS-git-common/get_sources.sh
And I got the message:
Missing metadata. Please run from inside a sources git repo
What am I missing?
3 thoughts on - How Do I Get The Kernel Srpm?
yumdownloader –source kernel
Use this guide:
https://wiki.CentOS.org/HowTos/I_need_the_Kernel_Source
The sources in git are c7 and newer. c6 isn’t shipped in git like that.