[CentOS] How do I get the kernel srpm?

Fri Apr 27 21:23:28 UTC 2018
Richard Grainger <grainger at gmail.com>

yumdownloader --source kernel

On Fri, Apr 27, 2018 at 9:35 PM, Robert Heller <heller at deepsoft.com> 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?
>
>
> --
> Robert Heller             -- 978-544-6933
> Deepwoods Software        -- Custom Software Services
> http://www.deepsoft.com/  -- Linux Administration Services
> heller at deepsoft.com       -- Webhosting Services
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos