diff options
author | Thierry N <thierryn1 at hispeed dot ch> | 2009-09-12 09:17:55 +0200 |
---|---|---|
committer | Thierry N <thierryn1 at hispeed dot ch> | 2009-09-12 09:17:55 +0200 |
commit | 35fab6c5eb2aac6e928c06606cc4164bf4d6c539 (patch) | |
tree | 7a9ef19dc1245569b1339e23bc2c4ed9d594972b /base/kernel/Pkgfile | |
parent | 07c77bf7b4d499a0adda6ef8f9dce997ca54a0dc (diff) | |
download | nutyx-extra-35fab6c5eb2aac6e928c06606cc4164bf4d6c539.tar.gz nutyx-extra-35fab6c5eb2aac6e928c06606cc4164bf4d6c539.tar.bz2 nutyx-extra-35fab6c5eb2aac6e928c06606cc4164bf4d6c539.tar.xz nutyx-extra-35fab6c5eb2aac6e928c06606cc4164bf4d6c539.zip |
Maj kernel#2.6.31-1
Diffstat (limited to 'base/kernel/Pkgfile')
-rw-r--r-- | base/kernel/Pkgfile | 18 |
1 files changed, 15 insertions, 3 deletions
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/ } |