Jason Stelzer on 17 Sep 2010 05:01:19 -0700


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] kernel config/compile sanity check

  • From: Jason Stelzer <jason.stelzer@gmail.com>
  • To: "Philadelphia Linux User's Group Discussion List" <plug@lists.phillylinux.org>
  • Subject: Re: [PLUG] kernel config/compile sanity check
  • Date: Fri, 17 Sep 2010 08:01:12 -0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=xBVYOBgPVbqXvmvtXFOqBG3+baV8SVez+FTNLONa+34=; b=LIhN2szIwUo3SOn+ert0QMQ8fkAyaswamzqGOBHFPE1WeVcLhUW3wSAjuRjFb3axPv iFrfkgG6cv1gCgehdFBJyj4mD9sGsSG1X0LIJEABiKSuDoelQURIn6Yo6RPvwNltqQWg 62E60eEp7YEcM3ElBm336PLIhcZlpb0i5i8iw=
  • Reply-to: Philadelphia Linux User's Group Discussion List <plug@lists.phillylinux.org>
  • Sender: plug-bounces@lists.phillylinux.org

Well, there's a couple things going on there. The first thing is that
there are a ton of lines of boiler plate packaging code.

The more important thing is that centos moves heaven and earth to NOT
break the kernel ABI when it upgrades. This is a GOOD thing IMO. But
I'm also one of those dirty, dirty, non-'foss only' types.

Out of curiosity I took a look and it turns out that the 'official'
way to build a kernel is pretty well documented by centos.
http://wiki.centos.org/HowTos/Custom_Kernel

If you dispensed with a modular kernel, then most of the stuff they
have is not very interesting to you.

On Fri, Sep 17, 2010 at 12:38 AM, JP Vossen <jp@jpsdomain.org> wrote:

> Jason and Kevin suggested looking at the CentOS kernel spec file. ÂGreat
> thought, I have only this to say:
>
> $ mkdir kernel && cd $_
> $ wget
> 'http://mirror.stanford.edu/yum/pub/centos/5.5/os/SRPMS/kernel-2.6.18-194.el5.src.rpm'
> Â# 79M
> $ rpm2cpio kernel-2.6.18-194.el5.src.rpm | cpio -i
> $ wc -l kernel-2.6.spec
> 17361 kernel-2.6.spec
>

-- 
J.
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug