/[sysadmin-cookbook]/recepies/lxc/kvm/01-setup/02-build-kvm-kernel.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /recepies/lxc/kvm/01-setup/02-build-kvm-kernel.sh

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

revision 254 by dpavlin, Fri May 13 19:58:32 2011 UTC revision 255 by dpavlin, Sat May 14 15:28:41 2011 UTC
# Line 1  Line 1 
1  #!/bin/sh -xe  #!/bin/sh -xe
2    
3  #wget -nc http://lxc.sourceforge.net/patches/linux/2.6.38/2.6.38.2-lxc1/patches.tar.gz  wget -nc http://lxc.sourceforge.net/patches/linux/2.6.38/2.6.38.2-lxc1/patches.tar.gz
4  #tar xvf patches.tar.gz  tar xvf patches.tar.gz
5    
6  wget -nc ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.2.tar.gz  wget -nc ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.2.tar.gz
7  tar xvf linux-2.6.38.2.tar.gz  tar xvf linux-2.6.38.2.tar.gz
# Line 9  tar xvf linux-2.6.38.2.tar.gz Line 9  tar xvf linux-2.6.38.2.tar.gz
9    
10  cd linux-2.6.38.2  cd linux-2.6.38.2
11    
12    ls ../patches/*.patch | xargs -i sh -cx "patch -p1 < {}"
13    
14    
15  # Start with the default configuration  # Start with the default configuration
16  make defconfig  make defconfig
17    

Legend:
Removed from v.254  
changed lines
  Added in v.255

  ViewVC Help
Powered by ViewVC 1.1.26