OpenVZ Forum


Home » Mailing lists » Users » Question Kernel Build REHL6
Question Kernel Build REHL6 [message #43234] Wed, 10 August 2011 10:16
Sebastian Helmig is currently offline  Sebastian Helmig
Messages: 1
Registered: August 2011
Junior Member
Hi,

I am surprised why I am getting a 400 MB kernel deb package after a kernel
build. I use debian to compile kernel. When I am deactivating kernel
debuging an issue happens during my compile.

How I can compile a kernel with a small size?



I use following list to compile:

wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.tar .bz2

tar xfv linux-2.6.32.tar.bz2

cd linux-2.6.32

wget
http://download.openvz.org/kernel/branches/rhel6-2.6.32/042s tab024.1/patches/patch-042stab024.1-combined.gz

gzip -dc patch-042stab024.1-combined.gz | patch -p1

wget
http://download.openvz.org/kernel/branches/rhel6-2.6.32/042s tab024.1/configs/config-2.6.32-042stab024.1.x86_64

cp config-2.6.32-042stab024.1.x86_64 .config

make clean && make-kpkg clean
make-kpkg --initrd --append-to-version="-openvz" --revision=2 kernel_image
kernel_headers

-rw-r--r-- 1 root src 443459300 09. aug 08:59
linux-image-2.6.32-openvz_1_amd64.deb

Thanks very much guys
Previous Topic: Re: Bug#636463: vzctl: /etc/vz/dists/scripts/postcreate.sh randomises run-times in /etc/crontab, but
Next Topic: Question about OpenVz CPU scheduling.
Goto Forum:
  


Current Time: Tue Apr 30 16:53:48 GMT 2024

Total time taken to generate the page: 0.01658 seconds