diff options
author | Sebastian Schmelzer | 2011-12-01 19:53:29 +0100 |
---|---|---|
committer | Sebastian Schmelzer | 2011-12-01 19:53:29 +0100 |
commit | 7ba2377fe81135d8e9f0fd8e97fbeacdb031d4ae (patch) | |
tree | f243b208ef7b36a82f5d65182db91cb4ae8ddc85 /bin | |
parent | update rootfs (busybox 1.19.3, new squeezy libs) (diff) | |
download | usb-boot-stick-7ba2377fe81135d8e9f0fd8e97fbeacdb031d4ae.tar.gz usb-boot-stick-7ba2377fe81135d8e9f0fd8e97fbeacdb031d4ae.tar.xz usb-boot-stick-7ba2377fe81135d8e9f0fd8e97fbeacdb031d4ae.zip |
update & aufs3 stuff
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/env.setup-kernel.sh | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/bin/env.setup-kernel.sh b/bin/env.setup-kernel.sh index 78238ca..f1c6211 100755 --- a/bin/env.setup-kernel.sh +++ b/bin/env.setup-kernel.sh @@ -19,8 +19,25 @@ else echo -e "[setup-kernel]\t\t Found unpacked kernel - continue." fi + + echo -e "[setup-kernel]\t\t Patch Kernel with aufs stuff." +git clone git://aufs.git.sourceforge.net/gitroot/aufs/aufs3-standalone.git 2>&1 +cd aufs3-standalone +#TODO: automatic choose aufs version.. +git checkout origin/aufs3.1 2>&1 +tar c include/linux/aufs_type.h Documentation fs | tar x -C ../linux-${kernel_version} + +cd ../linux-${kernel_version} + +patch -p1 < ../aufs3-standalone/aufs3-kbuild.patch +patch -p1 < ../aufs3-standalone/aufs3-base.patch +patch -p1 < ../aufs3-standalone/aufs3-proc_map.patch + +cp ../aufs3-standalone/include/linux/aufs_type.h include/linux/ + + echo -e "[setup-kernel]\t\t Update Kernel config." -cd linux-${kernel_version} +#cd linux-${kernel_version} cp ${ROOT_DIR}/config/kernel.config ./.config mkdir -p $ROOT_DIR/build/log |