オープンソース・ソフトウェアの開発とダウンロード

Subversion リポジトリの参照

Diff of /trunk/1.7.x/ccs-patch/specs/build-c4-2.6.9.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3120 by kumaneko, Sun Oct 25 08:15:32 2009 UTC revision 3139 by kumaneko, Thu Nov 5 02:22:15 2009 UTC
# Line 10  die () { Line 10  die () {
10    
11  cd /tmp/ || die "Can't chdir to /tmp/ ."  cd /tmp/ || die "Can't chdir to /tmp/ ."
12    
13  if [ ! -r kernel-2.6.9-89.0.15.EL.src.rpm ]  if [ ! -r kernel-2.6.9-89.0.16.EL.src.rpm ]
14  then  then
15      wget http://ftp.riken.jp/Linux/centos/4.8/updates/SRPMS/kernel-2.6.9-89.0.15.EL.src.rpm || die "Can't download source package."      wget http://ftp.riken.jp/Linux/centos/4.8/updates/SRPMS/kernel-2.6.9-89.0.16.EL.src.rpm || die "Can't download source package."
16  fi  fi
17  rpm -ivh kernel-2.6.9-89.0.15.EL.src.rpm || die "Can't install source package."  rpm -ivh kernel-2.6.9-89.0.16.EL.src.rpm || die "Can't install source package."
18    
19  cd /usr/src/redhat/SOURCES/ || die "Can't chdir to /usr/src/redhat/SOURCES/ ."  cd /usr/src/redhat/SOURCES/ || die "Can't chdir to /usr/src/redhat/SOURCES/ ."
20  if [ ! -r ccs-patch-1.7.0-20090911.tar.gz ]  if [ ! -r ccs-patch-1.7.0-20090911.tar.gz ]
# Line 25  fi Line 25  fi
25  cd /tmp/ || die "Can't chdir to /tmp/ ."  cd /tmp/ || die "Can't chdir to /tmp/ ."
26  cp -p /usr/src/redhat/SPECS/kernel-2.6.spec . || die "Can't copy spec file."  cp -p /usr/src/redhat/SPECS/kernel-2.6.spec . || die "Can't copy spec file."
27  patch << "EOF" || die "Can't patch spec file."  patch << "EOF" || die "Can't patch spec file."
28  --- kernel-2.6.spec     2009-10-24 05:58:45.000000000 +0900  --- kernel-2.6.spec     2009-11-04 06:57:13.000000000 +0900
29  +++ kernel-2.6.spec     2009-10-25 16:27:52.000000000 +0900  +++ kernel-2.6.spec     2009-11-05 11:16:01.000000000 +0900
30  @@ -27,7 +27,7 @@  @@ -27,7 +27,7 @@
31   # that the kernel isn't the stock distribution kernel, for example by   # that the kernel isn't the stock distribution kernel, for example by
32   # adding some text to the end of the version number.   # adding some text to the end of the version number.
33   #   #
34  -%define release 89.0.15.EL  -%define release 89.0.16.EL
35  +%define release 89.0.15.EL_tomoyo_1.7.0  +%define release 89.0.16.EL_tomoyo_1.7.0
36   %define sublevel 9   %define sublevel 9
37   %define kversion 2.6.%{sublevel}   %define kversion 2.6.%{sublevel}
38   %define rpmversion 2.6.%{sublevel}   %define rpmversion 2.6.%{sublevel}
# Line 55  patch << "EOF" || die "Can't patch spec Line 55  patch << "EOF" || die "Can't patch spec
55   Group: System Environment/Kernel   Group: System Environment/Kernel
56   License: GPLv2   License: GPLv2
57   Version: %{rpmversion}   Version: %{rpmversion}
58  @@ -5509,6 +5512,10 @@  @@ -5511,6 +5514,10 @@
59    
60   # END OF PATCH APPLICATIONS   # END OF PATCH APPLICATIONS
61    
# Line 66  patch << "EOF" || die "Can't patch spec Line 66  patch << "EOF" || die "Can't patch spec
66   cp %{SOURCE10} Documentation/   cp %{SOURCE10} Documentation/
67    
68   mkdir configs   mkdir configs
69  @@ -5520,6 +5527,9 @@  @@ -5522,6 +5529,9 @@
70   for i in *.config   for i in *.config
71   do   do
72          mv $i .config          mv $i .config

Legend:
Removed from v.3120  
changed lines
  Added in v.3139

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26