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

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 1817 by kumaneko, Tue Nov 11 00:22:48 2008 UTC revision 1876 by kumaneko, Fri Nov 21 02:14:21 2008 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-78.0.5.EL.src.rpm ]  if [ ! -r kernel-2.6.9-78.0.8.EL.src.rpm ]
14  then  then
15      wget http://ftp.riken.jp/Linux/centos/4.7/updates/SRPMS/kernel-2.6.9-78.0.5.EL.src.rpm || die "Can't download source package."      wget http://ftp.riken.jp/Linux/centos/4.7/updates/SRPMS/kernel-2.6.9-78.0.8.EL.src.rpm || die "Can't download source package."
16  fi  fi
17  rpm -ivh kernel-2.6.9-78.0.5.EL.src.rpm || die "Can't install source package."  rpm -ivh kernel-2.6.9-78.0.8.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.6.5-20081111.tar.gz ]  if [ ! -r ccs-patch-1.6.5-20081111.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     2008-10-08 19:32:33.000000000 +0900  --- kernel-2.6.spec     2008-11-20 07:11:11.000000000 +0900
29  +++ kernel-2.6.spec     2008-10-09 09:15:32.000000000 +0900  +++ kernel-2.6.spec     2008-11-21 10:31:15.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 78.0.5.EL  -%define release 78.0.8.EL
35  +%define release 78.0.5.EL_tomoyo_1.6.5  +%define release 78.0.8.EL_tomoyo_1.6.5
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  @@ -4578,6 +4581,10 @@  @@ -4614,6 +4617,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  @@ -4589,6 +4596,9 @@  @@ -4625,6 +4632,9 @@
70   for i in *.config   for i in *.config
71   do   do
72          mv $i .config          mv $i .config

Legend:
Removed from v.1817  
changed lines
  Added in v.1876

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