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/Pkgfile18
1 files changed, 14 insertions, 4 deletions
diff --git a/base/kernel-31/Pkgfile b/base/kernel-31/Pkgfile
index 5adfcd9b5..e5235c356 100644
--- a/base/kernel-31/Pkgfile
+++ b/base/kernel-31/Pkgfile
@@ -6,11 +6,11 @@
name=kernel-31
version=2.6.31.14
_BaseVersion=2.6.31
-release=4
+release=5
PKGMK_NO_STRIP="yes"
-SCRIPT_VERSION="attapu"
-_extra=10102010
-_tools=24102010
+SCRIPT_VERSION="attapu.1"
+_extra=31102010
+_tools=31102010
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://nutyx.meticul.eu/install-${SCRIPT_VERSION}.ash\
@@ -18,6 +18,16 @@ source=(http://www.kernel.org/pub/linux/kernel/v2.6/linux-${_BaseVersion}.tar.bz
http://nutyx.meticul.eu/files/installtools-${_tools}.tar.gz)
build(){
+for i in setup-install setup-mirroir
+do
+ sed -i "s|#INSTALL#|install-$SCRIPT_VERSION.ash|" \
+ nutyx-initrd-2009/rootfs/install/$i || exit 1
+done
+for i in main.txt functions setup-grub setup-grub
+do
+ sed -i "s|#VERSION#|MINI $SCRIPT_VERSION|g" \
+ nutyx-initrd-2009/rootfs/install/$i
+done
bzip2 -d patch-$version.bz2
cd linux-${_BaseVersion}
make mrproper