[CentOS-devel] How to rebuild kernel-2.6.18-164.el5.src.rpm from RHEL 5.4?

Wed Sep 9 18:50:26 UTC 2009
Akemi Yagi <amyagi at gmail.com>

On Wed, Sep 9, 2009 at 11:43 AM, Felix Schwarz<felix at schwarz-online.org> wrote:
> Akemi Yagi wrote:
>> Yes, if you just need the 5.4 kernel, you can grab it here:
>>
>> http://centos.toracat.org/ajb/tmp/5_4-kernel/x86_64/RPMS/
>
> That's neat - how did you rebuilt it? Just 'rpmbuild -ba'? Any tricks/special
> definition flags?

You need hmaccalc to build the 5.4 kernel.

Also, this is not a problem in your case because you are using mock,
but when compiling on a pre-linked system, it may be necessary to add
a '--without fips' command option.

Akemi