summaryrefslogtreecommitdiffstats
path: root/base/kernel
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-09-06 12:07:49 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-09-06 12:07:49 +0200
commit61b305d86ab5780a495e84720360ca5c3f720acb (patch)
treed2cb72b890274b9dc5d9141e207a4ba0f98b9a1f /base/kernel
parent8bdd8569739215ec16735a5f81d5b86692a90b9f (diff)
downloadnutyx-pakxe-61b305d86ab5780a495e84720360ca5c3f720acb.tar.gz
nutyx-pakxe-61b305d86ab5780a495e84720360ca5c3f720acb.tar.bz2
nutyx-pakxe-61b305d86ab5780a495e84720360ca5c3f720acb.tar.xz
nutyx-pakxe-61b305d86ab5780a495e84720360ca5c3f720acb.zip
Maj kernel#2.6.30.5-2,adaptation pour avoir les sources dispo
Diffstat (limited to 'base/kernel')
-rw-r--r--base/kernel/Pkgfile11
1 files changed, 5 insertions, 6 deletions
diff --git a/base/kernel/Pkgfile b/base/kernel/Pkgfile
index 77355ff91..4f492f607 100644
--- a/base/kernel/Pkgfile
+++ b/base/kernel/Pkgfile
@@ -6,15 +6,10 @@
name=kernel
version=2.6.30.5
-release=1
+release=2
source=(http://www.kernel.org/pub/linux/kernel/v2.6/linux-${version}.tar.bz2\
config_64 config)
build(){
-
-rm -rf /usr/src/kernel
-mkdir /usr/src/kernel
-mv linux-${version} /usr/src/kernel/
-ln -svf /usr/src/kernel/linux-${version}
cd linux-$version
make mrproper
case `uname -m` in
@@ -46,4 +41,8 @@ case `uname -m` in
ln -sf kernel-$version \
$PKG/boot/kernel;;
esac
+cd $PKG/lib/modules/$version/
+rm {build,source}
+ln -sv /usr/src/linux-$version build
+ln -sv /usr/src/linux-$version source
}