summaryrefslogtreecommitdiffstats
path: root/acompiler/kernel-36-pae/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2010-11-04 10:51:07 +0100
committersibel <lesibel@free.fr>2010-11-04 10:51:07 +0100
commita96610f8197c40da55a3cc62abca9fa05f23c41c (patch)
tree82b6bef52682f5bd32e361cc4a89908fb5b211a2 /acompiler/kernel-36-pae/Pkgfile
parent7374f6219879b9750c8a0dfe7b0a13f9335176d1 (diff)
parent3452455e10216c431efc333c9455f054278efd11 (diff)
downloadnutyx-pakxe-a96610f8197c40da55a3cc62abca9fa05f23c41c.tar.gz
nutyx-pakxe-a96610f8197c40da55a3cc62abca9fa05f23c41c.tar.bz2
nutyx-pakxe-a96610f8197c40da55a3cc62abca9fa05f23c41c.tar.xz
nutyx-pakxe-a96610f8197c40da55a3cc62abca9fa05f23c41c.zip
Merge branch 'master' of ssh://kiao.no-ip.info:443/~/attapu
Diffstat (limited to 'acompiler/kernel-36-pae/Pkgfile')
-rw-r--r--acompiler/kernel-36-pae/Pkgfile20
1 files changed, 15 insertions, 5 deletions
diff --git a/acompiler/kernel-36-pae/Pkgfile b/acompiler/kernel-36-pae/Pkgfile
index c42df4af8..44bce6247 100644
--- a/acompiler/kernel-36-pae/Pkgfile
+++ b/acompiler/kernel-36-pae/Pkgfile
@@ -6,17 +6,27 @@
name=kernel-36-pae
version=2.6.36
_BaseVersion=2.6.36
-release=2
+release=3
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://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(){
+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}
@@ -71,7 +81,7 @@ 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 -m754 $SRC/install-${SCRIPT_VERSION}.ash \
+install -m755 $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