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
From: *

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 .bz2

tar xfv linux-2.6.32.tar.bz2

cd linux-2.6.32

wget tab024.1/patches/patch-042stab024.1-combined.gz

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

wget 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

-rw-r--r-- 1 root src 443459300 09. aug 08:59

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

Current Time: Sun Dec 08 11:07:31 GMT 2019