summaryrefslogtreecommitdiffstats
path: root/base/kernel/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/kernel/Pkgfile')
-rw-r--r--base/kernel/Pkgfile18
1 files changed, 15 insertions, 3 deletions
diff --git a/base/kernel/Pkgfile b/base/kernel/Pkgfile
index 227a85fed..c83b50ce9 100644
--- a/base/kernel/Pkgfile
+++ b/base/kernel/Pkgfile
@@ -3,13 +3,20 @@
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
-name=kernel-35
+name=kernel
version=2.6.35.7
_BaseVersion=2.6.35
-release=1
+release=2
PKGMK_NO_STRIP="yes"
+SCRIPT_VERSION="attapu"
+_extra=08102010
+_tools=08102010
source=(http://www.kernel.org/pub/linux/kernel/v2.6/linux-${_BaseVersion}.tar.bz2 config_64 config\
- http://www.kernel.org/pub/linux/kernel/v2.6/patch-$version.bz2)
+ http://www.kernel.org/pub/linux/kernel/v2.6/patch-$version.bz2\
+ http://nutyx.meticul.eu/install-${SCRIPT_VERSION}.ash\
+ http://nutyx.meticul.eu/files/nutyx-initrd-extra-${_extra}.tar.bz2\
+ http://nutyx.meticul.eu/files/installtools-${_tools}.tar.gz)
+
build(){
bzip2 -d patch-$version.bz2
cd linux-${_BaseVersion}
@@ -64,4 +71,9 @@ mv $SRC/linux-${_BaseVersion}/arch/x86 $PKG/usr/src/linux-${_BaseVersion}/arch
mv $SRC/linux-${_BaseVersion}/vmlinux $PKG/usr/src/linux-${_BaseVersion}/
mv $SRC/linux-${_BaseVersion}/Module.symvers $PKG/usr/src/linux-${_BaseVersion}/
rm -r $PKG/lib/firmware
+mkdir -p $PKG/root/bin
+install -m644 $SRC/install-${SCRIPT_VERSION}.ash \
+ $PKG/root/bin/install-${SCRIPT_VERSION}.ash
+cd $SRC
+bsdtar -c "-J" -f $PKG/boot/nutyx-initrd.tar.xz nutyx-initrd-2009
}