All of lore.kernel.org
 help / color / mirror / Atom feed
From: rpeterso@sourceware.org <rpeterso@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] cluster cman-kernel/configure cmirror-kernel/c ...
Date: 22 Feb 2007 16:20:53 -0000	[thread overview]
Message-ID: <20070222162053.23653.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	STABLE
Changes by:	rpeterso at sourceware.org	2007-02-22 16:20:50

Modified files:
	cman-kernel    : configure 
	cmirror-kernel : configure 
	dlm-kernel     : configure 
	gfs-kernel     : configure 
	gnbd/scripts   : linuxver 
	gnbd-kernel    : configure 

Log message:
	Fix configure scripts so they figure out the correct kernel
	version and module install location on newer kernels.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman-kernel/configure.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.3&r2=1.3.8.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cmirror-kernel/configure.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.1.4.1&r2=1.1.4.2
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/dlm-kernel/configure.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.3&r2=1.3.8.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gfs-kernel/configure.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.3&r2=1.3.8.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd/scripts/linuxver.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.1&r2=1.1.8.1
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/gnbd-kernel/configure.diff?cvsroot=cluster&only_with_tag=STABLE&r1=1.3&r2=1.3.8.1

--- cluster/cman-kernel/Attic/configure	2004/09/01 18:43:58	1.3
+++ cluster/cman-kernel/Attic/configure	2007/02/22 16:20:48	1.3.8.1
@@ -92,7 +92,7 @@
 
 print OFILE "# This file was generated by configure from defines.mk.input\n";
 
-open VER, "<$kernel_src/include/linux/version.h" or die "Can't open $kernel_src/include/linux/version.h";
+open VER, "<$kernel_src/include/linux/utsrelease.h" or die "Can't open $kernel_src/include/linux/utsrelease.h";
 while(<VER>){
     chomp;
     if( $_ =~ /^#define\s*UTS_RELEASE\s*\"(.*)\"$/ ){
--- cluster/cmirror-kernel/Attic/configure	2006/06/27 18:36:08	1.1.4.1
+++ cluster/cmirror-kernel/Attic/configure	2007/02/22 16:20:48	1.1.4.2
@@ -92,7 +92,7 @@
 
 print OFILE "# This file was generated by configure from defines.mk.input\n";
 
-open VER, "<$kernel_src/include/linux/version.h" or die "Can't open $kernel_src/include/linux/version.h";
+open VER, "<$kernel_src/include/linux/utsrelease.h" or die "Can't open $kernel_src/include/linux/utsrelease.h";
 while(<VER>){
     chomp;
     if( $_ =~ /^#define\s*UTS_RELEASE\s*\"(.*)\"$/ ){
--- cluster/dlm-kernel/Attic/configure	2004/09/01 18:43:59	1.3
+++ cluster/dlm-kernel/Attic/configure	2007/02/22 16:20:49	1.3.8.1
@@ -92,7 +92,7 @@
 
 print OFILE "# This file was generated by configure from defines.mk.input\n";
 
-open VER, "<$kernel_src/include/linux/version.h" or die "Can't open $kernel_src/include/linux/version.h";
+open VER, "<$kernel_src/include/linux/utsrelease.h" or die "Can't open $kernel_src/include/linux/utsrelease.h";
 while(<VER>){
     chomp;
     if( $_ =~ /^#define\s*UTS_RELEASE\s*\"(.*)\"$/ ){
--- cluster/gfs-kernel/configure	2004/09/01 18:43:59	1.3
+++ cluster/gfs-kernel/configure	2007/02/22 16:20:49	1.3.8.1
@@ -92,7 +92,7 @@
 
 print OFILE "# This file was generated by configure from defines.mk.input\n";
 
-open VER, "<$kernel_src/include/linux/version.h" or die "Can't open $kernel_src/include/linux/version.h";
+open VER, "<$kernel_src/include/linux/utsrelease.h" or die "Can't open $kernel_src/include/linux/utsrelease.h";
 while(<VER>){
     chomp;
     if( $_ =~ /^#define\s*UTS_RELEASE\s*\"(.*)\"$/ ){
--- cluster/gnbd/scripts/linuxver	2004/06/24 08:53:33	1.1
+++ cluster/gnbd/scripts/linuxver	2007/02/22 16:20:50	1.1.8.1
@@ -37,11 +37,11 @@
 
     # if there was an argument to linuxver, use it as the linux source directory
     if ($linux_src) {
-      $file = $linux_src . '/include/linux/version.h';
+      $file = $linux_src . '/include/linux/utsrelease.h';
     }
     # otherwise, use the default 
     else {
-       $file = '/usr/src/linux/include/linux/version.h';
+       $file = '/usr/src/linux/include/linux/utsrelease.h';
     }
       
 
--- cluster/gnbd-kernel/configure	2004/09/01 18:43:59	1.3
+++ cluster/gnbd-kernel/configure	2007/02/22 16:20:50	1.3.8.1
@@ -92,7 +92,7 @@
 
 print OFILE "# This file was generated by configure from defines.mk.input\n";
 
-open VER, "<$kernel_src/include/linux/version.h" or die "Can't open $kernel_src/include/linux/version.h";
+open VER, "<$kernel_src/include/linux/utsrelease.h" or die "Can't open $kernel_src/include/linux/utsrelease.h";
 while(<VER>){
     chomp;
     if( $_ =~ /^#define\s*UTS_RELEASE\s*\"(.*)\"$/ ){



                 reply	other threads:[~2007-02-22 16:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070222162053.23653.qmail@sourceware.org \
    --to=rpeterso@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.