#!/bin/sh -xe
-#wget -nc http://lxc.sourceforge.net/patches/linux/2.6.38/2.6.38.2-lxc1/patches.tar.gz
-#tar xvf patches.tar.gz
+wget -nc http://lxc.sourceforge.net/patches/linux/2.6.38/2.6.38.2-lxc1/patches.tar.gz
+tar xvf patches.tar.gz
wget -nc ftp://ftp.kernel.org/pub/linux/kernel/v2.6/linux-2.6.38.2.tar.gz
tar xvf linux-2.6.38.2.tar.gz
cd linux-2.6.38.2
+ls ../patches/*.patch | xargs -i sh -cx "patch -p1 < {}"
+
+
# Start with the default configuration
make defconfig