Hi,
as RHEL 5.4 came out a few days ago I thought I could rebuilt just a few components to get my own 'preview' of kvm on CentOS 5.3 until there is the official CentOS 5.4.
A couple of base libraries (e.g. log4cpp, qspice, ...) where really easy to rebuilt from Red Hat's source rpms but I failed to rebuild the kernel using: mock -r epel-5-x86_64 --rebuild kernel-2.6.18-164.el5.src.rpm
Using mock on a Fedora 10 build host, this is the error message: + make -s ARCH=x86_64 INSTALL_MOD_PATH=/var/tmp/kernel-2.6.18-164.el5-root modules_install KERNELRELEASE=2.6.18-164.el5 make: *** No rule to make target `modules_install'. Stop.
Did anyone succeed in rebuilding the RHEL 5.4 kernel already? fs
On Wed, Sep 9, 2009 at 11:23 AM, Felix Schwarzfelix@schwarz-online.org wrote:
Did anyone succeed in rebuilding the RHEL 5.4 kernel already?
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/
Akemi
Akemi Yagi wrote:
Yes, if you just need the 5.4 kernel, you can grab it here:
That's neat - how did you rebuilt it? Just 'rpmbuild -ba'? Any tricks/special definition flags?
fs
On Wed, Sep 9, 2009 at 11:43 AM, Felix Schwarzfelix@schwarz-online.org wrote:
Akemi Yagi wrote:
Yes, if you just need the 5.4 kernel, you can grab it here:
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
Felix Schwarz wrote:
Akemi Yagi wrote:
You need hmaccalc to build the 5.4 kernel.
Ah, somehow I missed that one. Now it builds fine :-)
Now kernel-2.6.18-164.el5.src.rpm from CentOS is available. Can I download hmaccalc rpm needed for building from kernel-2.6.18-164.el5.src.rpm? Is hmaccalc a new package added in RHEL 5.4?
On 16/09/2009, Tetsuo Handa from-centos@i-love.sakura.ne.jp wrote:
Now kernel-2.6.18-164.el5.src.rpm from CentOS is available. Can I download hmaccalc rpm needed for building from kernel-2.6.18-164.el5.src.rpm? Is hmaccalc a new package added in RHEL 5.4?
Yes, hmaccalc is new with the 5.4 release.
As CentOS 5.4 has not been released, the hmaccalc package is not yet available from the repositories.
My advice, at present, is to use the "--without fips" command-line flag and its argument when performing your build.
Please also be aware of an upstream bug --
https://bugzilla.redhat.com/show_bug.cgi?id=512275
Alan.