Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Diff of /trunk/1.7.x/ccs-patch/specs/build-f7-2.6.23.sh

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

revision 2974 by kumaneko, Tue Sep 1 03:33:37 2009 UTC revision 2975 by kumaneko, Tue Sep 1 05:34:46 2009 UTC
# Line 17  fi Line 17  fi
17  rpm -ivh kernel-2.6.23.17-88.fc7.src.rpm || die "Can't install source package."  rpm -ivh kernel-2.6.23.17-88.fc7.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.8-20090824.tar.gz ]  if [ ! -r ccs-patch-1.7.0-20090903.tar.gz ]
21  then  then
22      wget http://osdn.dl.sourceforge.jp/tomoyo/30297/ccs-patch-1.6.8-20090824.tar.gz || die "Can't download patch."      wget http://osdn.dl.sourceforge.jp/tomoyo/43375/ccs-patch-1.7.0-20090903.tar.gz || die "Can't download patch."
23  fi  fi
24    
25  cd /tmp/ || die "Can't chdir to /tmp/ ."  cd /tmp/ || die "Can't chdir to /tmp/ ."
# Line 32  patch << "EOF" || die "Can't patch spec Line 32  patch << "EOF" || die "Can't patch spec
32   # by setting the define to ".local" or ".bz123456"   # by setting the define to ".local" or ".bz123456"
33   #   #
34  -#% define buildid .local  -#% define buildid .local
35  +%define buildid _tomoyo_1.6.8p1  +%define buildid _tomoyo_1.7.0
36    
37   # fedora_build defines which build revision of this kernel version we're   # fedora_build defines which build revision of this kernel version we're
38   # building. Rather than incrementing forever, as with the prior versioning   # building. Rather than incrementing forever, as with the prior versioning
# Line 62  patch << "EOF" || die "Can't patch spec Line 62  patch << "EOF" || die "Can't patch spec
62   # END OF PATCH APPLICATIONS   # END OF PATCH APPLICATIONS
63    
64  +# TOMOYO Linux  +# TOMOYO Linux
65  +tar -zxf %_sourcedir/ccs-patch-1.6.8-20090824.tar.gz  +tar -zxf %_sourcedir/ccs-patch-1.7.0-20090903.tar.gz
66  +# sed -i -e 's:EXTRAVERSION =.*:EXTRAVERSION = .17-88.fc7:' -- Makefile  +# sed -i -e 's:EXTRAVERSION =.*:EXTRAVERSION = .17-88.fc7:' -- Makefile
67  +patch -sp1 < patches/ccs-patch-2.6.23-fedora-7.diff  +patch -sp1 < patches/ccs-patch-2.6.23-fedora-7.diff
68  +  +

Legend:
Removed from v.2974  
changed lines
  Added in v.2975

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