Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 19 Aug 2012 20:30:25 +0400
From: Vasiliy Kulikov <segoon@...nwall.com>
To: owl-dev@...ts.openwall.com
Subject: Re: kernel.spec generated RPMs

On Sun, Aug 19, 2012 at 19:00 +0400, Solar Designer wrote:
> On Sun, Aug 19, 2012 at 03:30:25PM +0400, Vasiliy Kulikov wrote:
> > build@...halot:~ $  ls -lh RPMS/kernel-*
> > -rw------- 1 build sources 394M 2012-08-19 11:04 RPMS/kernel-2.6.32-042stab059.7.owl1.x86_64.rpm
> 
> Wow.  This size is totally unacceptable.  Just why is the package this
> large?  Somehow OpenVZ's own builds (vzkernel*) are a lot smaller (27 MB
> for the main binary package).  I think ours should be similar to theirs.

Hmm, I've built the kernel with CONFIG_DEBUG_INFO=y.  I'm debugging
USERCOPY feature and need kernel symbols :)

With =n it is just 23 MB.

Also, we'll have FRAME_POINTERS=y (OpenVZ has =n here) for USERCOPY,
which might increase kernel size a bit.

-- 
Vasiliy

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ