Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/caitsith-patch/specs/build-debian_wheezy.sh

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

revision 155 by kumaneko, Sun Jul 12 05:29:19 2015 UTC revision 159 by kumaneko, Tue Jul 21 12:07:15 2015 UTC
# Line 23  sed -i -e 's/maintainer := .*/maintainer Line 23  sed -i -e 's/maintainer := .*/maintainer
23  # Download CaitSith patches.  # Download CaitSith patches.
24  mkdir -p /root/rpmbuild/SOURCES/  mkdir -p /root/rpmbuild/SOURCES/
25  cd /root/rpmbuild/SOURCES/ || die "Can't chdir to /root/rpmbuild/SOURCES/ ."  cd /root/rpmbuild/SOURCES/ || die "Can't chdir to /root/rpmbuild/SOURCES/ ."
26  if [ ! -r caitsith-patch-0.1-20150606.tar.gz ]  if [ ! -r caitsith-patch-0.1-20150721.tar.gz ]
27  then  then
28      apt-get -y install wget      apt-get -y install wget
29      wget -O caitsith-patch-0.1-20150606.tar.gz 'http://sourceforge.jp/frs/redir.php?f=/caitsith/55464/caitsith-patch-0.1-20150606.tar.gz' || die "Can't download patch."      wget -O caitsith-patch-0.1-20150721.tar.gz 'http://sourceforge.jp/frs/redir.php?f=/caitsith/55464/caitsith-patch-0.1-20150721.tar.gz' || die "Can't download patch."
30  fi  fi
31    
32  # Install kernel source packages.  # Install kernel source packages.
# Line 38  tar -jxf linux-source-3.2.tar.bz2 Line 38  tar -jxf linux-source-3.2.tar.bz2
38    
39  # Apply patches and create kernel config.  # Apply patches and create kernel config.
40  cd linux-source-3.2 || die "Can't chdir to linux-source-3.2/ ."  cd linux-source-3.2 || die "Can't chdir to linux-source-3.2/ ."
41  tar -zxf /root/rpmbuild/SOURCES/caitsith-patch-0.1-20150606.tar.gz || die "Can't extract patch."  tar -zxf /root/rpmbuild/SOURCES/caitsith-patch-0.1-20150721.tar.gz || die "Can't extract patch."
42  sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' patches/ccs-patch-*.diff  sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' patches/ccs-patch-*.diff
43  patch -p1 < patches/ccs-patch-3.2-debian-wheezy.diff || die "Can't apply patch."  patch -p1 < patches/ccs-patch-3.2-debian-wheezy.diff || die "Can't apply patch."
44  cat /boot/config-3.2.0-$ABI_VERSION-$ORIGINAL_FLAVOUR config.caitsith > .config || die "Can't create config."  cat /boot/config-3.2.0-$ABI_VERSION-$ORIGINAL_FLAVOUR config.caitsith > .config || die "Can't create config."

Legend:
Removed from v.155  
changed lines
  Added in v.159

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