From 35fab6c5eb2aac6e928c06606cc4164bf4d6c539 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Sat, 12 Sep 2009 09:17:55 +0200 Subject: Maj kernel#2.6.31-1 --- base/kernel/Pkgfile | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'base/kernel/Pkgfile') diff --git a/base/kernel/Pkgfile b/base/kernel/Pkgfile index 4f492f607..a3e242685 100644 --- a/base/kernel/Pkgfile +++ b/base/kernel/Pkgfile @@ -5,8 +5,8 @@ # Depends on: name=kernel -version=2.6.30.5 -release=2 +version=2.6.31 +release=1 source=(http://www.kernel.org/pub/linux/kernel/v2.6/linux-${version}.tar.bz2\ config_64 config) build(){ @@ -18,7 +18,7 @@ case `uname -m` in i?86) mv $SRC/config ./.config;; esac -make +make -j3 make INSTALL_MOD_PATH=$PKG modules_install mkdir -p $PKG/boot case `uname -m` in @@ -45,4 +45,16 @@ cd $PKG/lib/modules/$version/ rm {build,source} ln -sv /usr/src/linux-$version build ln -sv /usr/src/linux-$version source + +mkdir -p $PKG/usr/src/linux-$version/ +mv $SRC/linux-$version/.config $PKG/usr/src/linux-$version/ +mv $SRC/linux-$version/Makefile $PKG/usr/src/linux-$version/ +mkdir -p $PKG/usr/src/linux-$version/kernel +mv $SRC/linux-$version/scripts $PKG/usr/src/linux-$version/ +chmod og-w -R $PKG/usr/src/linux-$version/scripts +mv $SRC/linux-$version/include $PKG/usr/src/linux-$version/ +mkdir $PKG/usr/src/linux-$version/arch +mv $SRC/linux-$version/arch/x86 $PKG/usr/src/linux-$version/arch +mv $SRC/linux-$version/vmlinux $PKG/usr/src/linux-$version/ +mv $SRC/linux-$version/Module.symvers $PKG/usr/src/linux-$version/ } -- cgit v1.2.3-70-g09d2