[CentOS] Centosplus for centos 5

Sun Apr 29 03:57:51 UTC 2007
Tom Bishop <bishoptf at gmail.com>

Much appreciated Johnny, thanks for taking the time to explain what and
where.  I'll start using the plus SRPMs from here out and then I only need
to modify for the timer frequency.  Thanks.

On 4/28/07, Johnny Hughes <mailing-lists at hughesjr.com> wrote:
>
> 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
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20070428/fecfa993/attachment-0005.html>