diff options
Diffstat (limited to 'base/initrd-pae')
-rw-r--r-- | base/initrd-pae/Pkgfile | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/base/initrd-pae/Pkgfile b/base/initrd-pae/Pkgfile index 9fddd68dc..1fe791b02 100644 --- a/base/initrd-pae/Pkgfile +++ b/base/initrd-pae/Pkgfile @@ -4,21 +4,30 @@ # Packager: thierryn1 at hispeed dot ch name=initrd-pae -version=2.6.33.2 -release=2 -_tools=04042010 +version=2.6.33.3 +release=1 +_tools=27042010 _baseversion=2.6.33 -SCRIPT_VERSION="2009.3" +SCRIPT_VERSION="attapu" source=() build(){ wget http://kiao.no-ip.info/NuTyX/tools/install-${SCRIPT_VERSION}.ash -wget http://kiao.no-ip.info/NuTyX/2009.3/`uname -m`/release/kernel-pae%23$version-1.pkg.tar.gz +wget http://kiao.no-ip.info/NuTyX/attapu/`uname -m`/release/kernel-pae%23$version-1.pkg.tar.gz WDIR=$SRC/installtools tar xf kernel* mkdir -p $WDIR wget http://kiao.no-ip.info/NuTyX/tools/installtools-${_tools}.tar.gz tar -C $WDIR --use-compress-program=gzip -xf installtools-${_tools}.tar.gz - +for i in $WDIR/rootfs/install/setup-install \ + $WDIR/rootfs/install/setup-mirroir +do + sed -i "s|#INSTALL#|install-$SCRIPT_VERSION.ash|" $i +done +for i in $WDIR/rootfs/etc/init.d/main.txt $WDIR/rootfs/etc/init.d/functions \ + $WDIR/rootfs/install/setup-grub +do + sed -i "s|#VERSION#|$SCRIPT_VERSION|" $i +done mkdir -p $WDIR/rootfs/lib/modules/${_baseversion}-NuTyX/kernel/{drivers,fs} cp -a lib/modules/${_baseversion}-NuTyX/kernel/crypto \ $WDIR/rootfs/lib/modules/${_baseversion}-NuTyX/kernel/ |