Re: Centosplus for centos 5

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



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@xxxxxxxxxxxx> 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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux