[Users] Question Kernel Build REHL6
Sebastian Helmig
sebhelmig at googlemail.com
Wed Aug 10 06:16:49 EDT 2011
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/042stab024.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/042stab024.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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openvz.org/pipermail/users/attachments/20110810/f81bcfef/attachment.html
More information about the Users
mailing list