Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/caitsith-patch/specs/build-ubuntu_14.04.sh

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

revision 386 by kumaneko, Sat Nov 11 14:20:06 2023 UTC revision 387 by kumaneko, Mon Dec 25 14:08:19 2023 UTC
# Line 29  apt-get -y install wget Line 29  apt-get -y install wget
29  # Download CaitSith patches.  # Download CaitSith patches.
30  mkdir -p ~/rpmbuild/SOURCES/  mkdir -p ~/rpmbuild/SOURCES/
31  cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ."  cd ~/rpmbuild/SOURCES/ || die "Can't chdir to ~/rpmbuild/SOURCES/ ."
32  if [ ! -r caitsith-patch-0.2-20231111.tar.gz ]  if [ ! -r caitsith-patch-0.2-20231225.tar.gz ]
33  then  then
34      wget -O caitsith-patch-0.2-20231111.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20231111.tar.gz' || die "Can't download patch."      wget -O caitsith-patch-0.2-20231225.tar.gz 'https://osdn.jp/frs/redir.php?f=/caitsith/66537/caitsith-patch-0.2-20231225.tar.gz' || die "Can't download patch."
35  fi  fi
36    
37  # Install kernel source packages.  # Install kernel source packages.
# Line 44  for i in `awk ' { if ( $1 != "Build-Depe Line 44  for i in `awk ' { if ( $1 != "Build-Depe
44  # Apply patches and create kernel config.  # Apply patches and create kernel config.
45  cd linux-3.13.0/ || die "Can't chdir to linux-3.13.0/ ."  cd linux-3.13.0/ || die "Can't chdir to linux-3.13.0/ ."
46  update_maintainer  update_maintainer
47  tar -zxf ~/rpmbuild/SOURCES/caitsith-patch-0.2-20231111.tar.gz || die "Can't extract patch."  tar -zxf ~/rpmbuild/SOURCES/caitsith-patch-0.2-20231225.tar.gz || die "Can't extract patch."
48  sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' -e 's/ccs_domain_info/cs_domain_info/g' -e 's/ccs_flags/cs_flags/g' patches/ccs-patch-*.diff  sed -i -e 's/CCSECURITY/CAITSITH/g' -e 's/ccsecurity/caitsith/g' -e 's/ccs_domain_info/cs_domain_info/g' -e 's/ccs_flags/cs_flags/g' patches/ccs-patch-*.diff
49  patch -p1 < patches/ccs-patch-3.13-ubuntu-14.04.diff || die "Can't apply patch."  patch -p1 < patches/ccs-patch-3.13-ubuntu-14.04.diff || die "Can't apply patch."
50  rm -fR patches/ specs/ || die "Can't delete patch."  rm -fR patches/ specs/ || die "Can't delete patch."

Legend:
Removed from v.386  
changed lines
  Added in v.387

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