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 |
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 |
|
|