diff options
Diffstat (limited to 'acompiler/kernel-36-pae/Pkgfile')
-rw-r--r-- | acompiler/kernel-36-pae/Pkgfile | 20 |
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 |