Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Diff of /trunk/1.7.x/ccs-patch/specs/build-ubuntu_8.10.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 20  done Line 20  done
20  # Download TOMOYO Linux patches.  # Download TOMOYO Linux patches.
21  mkdir -p /usr/src/rpm/SOURCES/  mkdir -p /usr/src/rpm/SOURCES/
22  cd /usr/src/rpm/SOURCES/ || die "Can't chdir to /usr/src/rpm/SOURCES/ ."  cd /usr/src/rpm/SOURCES/ || die "Can't chdir to /usr/src/rpm/SOURCES/ ."
23  if [ ! -r ccs-patch-1.6.8-20090824.tar.gz ]  if [ ! -r ccs-patch-1.7.0-20090903.tar.gz ]
24  then  then
25      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."
26  fi  fi
27    
28  # Install kernel source packages.  # Install kernel source packages.
# Line 36  apt-get source linux-restricted-modules- Line 36  apt-get source linux-restricted-modules-
36    
37  # Apply patches and create kernel config.  # Apply patches and create kernel config.
38  cd linux-2.6.27/ || die "Can't chdir to linux-2.6.27/ ."  cd linux-2.6.27/ || die "Can't chdir to linux-2.6.27/ ."
39  tar -zxf /usr/src/rpm/SOURCES/ccs-patch-1.6.8-20090824.tar.gz || die "Can't extract patch."  tar -zxf /usr/src/rpm/SOURCES/ccs-patch-1.7.0-20090903.tar.gz || die "Can't extract patch."
40  patch -p1 < patches/ccs-patch-2.6.27-ubuntu-8.10.diff || die "Can't apply patch."  patch -p1 < patches/ccs-patch-2.6.27-ubuntu-8.10.diff || die "Can't apply patch."
41  for i in `find debian/ -type f -name '*generic*'`; do cp -p $i `echo $i | sed -e 's/generic/ccs/g'`; done  for i in `find debian/ -type f -name '*generic*'`; do cp -p $i `echo $i | sed -e 's/generic/ccs/g'`; done
42  for i in debian/config/*/config; do cat config.ccs >> $i; done  for i in debian/config/*/config; do cat config.ccs >> $i; done

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