Adrian Revill wrote:
Hi,

I have been rebuilding the 2.6.18-8.1.1 kernel, it all works, and i can boot from the kernels, but im a little puzzled about the size of the modules directory. The stock rpm install has a total of 81M of modules, where as, if i use the stock config for a kernel build i get a modules directory of 446M

The method i am using to create the rpm is;

install the kernel-2.6.18-8.1.1-src.rpm
in /usr/src/redhat/SPECS run rpmbuild -bp --target=x86_64 kernel-2.6.18.spec

then in /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18-x86_64
make mrproper
cp /boot/config-2.6.18-8.1.1.el5  .config
make oldconfig
make rpm

Does anyone know how the stock rpms are built?

rpmbuild -bb --target <arch> kernel-2.6.spec

Haven't done a 'make rpm' in some time, but my suspicion is that the size difference is due to 'make rpm' not doing debuginfo stripping.

--
Jarod Wilson
[EMAIL PROTECTED]

_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to