summaryrefslogtreecommitdiffstats
path: root/acompiler/kernel-36-pae/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-11-03 21:12:09 +0100
committertnut <thierryn1 at hispeed dot ch>2010-11-03 21:12:09 +0100
commit3452455e10216c431efc333c9455f054278efd11 (patch)
tree3df4e7dc70987703cdf1dbf6968b9ed466207d8a /acompiler/kernel-36-pae/Pkgfile
parent365d99a422649124e4b08197804ec27e9750bcf1 (diff)
downloadnutyx-extra-3452455e10216c431efc333c9455f054278efd11.tar.gz
nutyx-extra-3452455e10216c431efc333c9455f054278efd11.tar.bz2
nutyx-extra-3452455e10216c431efc333c9455f054278efd11.tar.xz
nutyx-extra-3452455e10216c431efc333c9455f054278efd11.zip
kernel-36-pae, maj 2.6.36-3
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