[CentOS] How do I get the kernel srpm?

Mon Apr 30 17:49:02 UTC 2018
Jim Perrin <jperrin at centos.org>


On 04/27/2018 01:35 PM, Robert Heller wrote:
> 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?
>                               
> 

The sources in git are c7 and newer. c6 isn't shipped in git like that.


-- 
Jim Perrin
The CentOS Project | http://www.centos.org
twitter: @BitIntegrity | GPG Key: FA09AD77