summaryrefslogtreecommitdiffstats
path: root/base/kernel-31/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/kernel-31/Pkgfile')
-rw-r--r--base/kernel-31/Pkgfile15
1 files changed, 13 insertions, 2 deletions
diff --git a/base/kernel-31/Pkgfile b/base/kernel-31/Pkgfile
index 7962a0947..517138038 100644
--- a/base/kernel-31/Pkgfile
+++ b/base/kernel-31/Pkgfile
@@ -6,10 +6,16 @@
name=kernel-31
version=2.6.31.14
_BaseVersion=2.6.31
-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
@@ -62,4 +68,9 @@ mkdir $PKG/usr/src/linux-${_BaseVersion}/arch
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}/
+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
}