[CentOS] Centosplus for centos 5

Sat Apr 28 08:09:58 UTC 2007
Johnny Hughes <mailing-lists at hughesjr.com>

On Fri, 2007-04-27 at 23:48 -0500, Tom Bishop wrote:
> Johnny can you bee more specific on how you go about and correct this?
> I need to recompile with the same support as the plus build but I also
> need to change the frequency timer.  That works but I have no
> reiserfs, etc support.  Where do you go to change the settings to get
> this to stick.  I tried looking for a per script that set these
> settings as mentioned in your description below but was unable to find
> where they are setting it.  Any help would be appreciated, thanks.

What I did what modify the Kernel Spec file to not use the generic
template code.  I did this by removing that section of code completely
from the spec file.

So, I removed this section of code completely from the "%prep" section
for CentOSPlus spec:

====================================================================================
#if a rhel kernel, apply the rhel config options
%if 0%{?rhel}
  for i in %{all_arch_configs}
  do
    mv $i $i.tmp
    $RPM_SOURCE_DIR/merge.pl $RPM_SOURCE_DIR/config-rhel-generic $i.tmp > $i
    rm $i.tmp
  done
  for i in $RPM_SOURCE_DIR/kernel-%{kversion}-{i586,i686,i686-PAE,x86_64}*.config
  do
    echo i is this file  $i
    mv $i $i.tmp
    $RPM_SOURCE_DIR/merge.pl $RPM_SOURCE_DIR/config-rhel-x86-generic $i.tmp > $i
    rm $i.tmp
  done
  for i in $RPM_SOURCE_DIR/kernel-%{kversion}-ppc64.config
  do
    echo i is this file  $i
    mv $i $i.tmp
    $RPM_SOURCE_DIR/merge.pl $RPM_SOURCE_DIR/config-rhel-ppc64-generic $i.tmp > $i
    rm $i.tmp
  done
%endif
#if a olpc kernel, apply the olpc config options
%if 0%{?olpc}
  for i in %{all_arch_configs}
  do
    mv $i $i.tmp
    $RPM_SOURCE_DIR/merge.pl $RPM_SOURCE_DIR/config-olpc-generic $i.tmp > $i
    rm $i.tmp
  done
%endif
====================================================================================

That mod should be in spec file for CentOSPlus .... in this SRPM:

http://dev.centos.org/centos/5/testing/SRPMS/kernel-2.6.18-8.1.1.el5.centos.plus.1.src.rpm

(also the i586, i686, x86_64 kernel-2.6.18* SOURCE files from that SRPM
are also the config files for what is enabled in the CentOSPlus kernel)

<snip>

Thanks,
Johnny Hughes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20070428/993ca78d/attachment-0005.sig>