summaryrefslogtreecommitdiffstats
path: root/base/initrd/Pkgfile
diff options
context:
space:
mode:
authortnut <thierryn1 at hispeed dot ch>2010-04-27 15:54:26 +0200
committertnut <thierryn1 at hispeed dot ch>2010-04-27 15:54:26 +0200
commit3b4ae7ff11ade5d1f6ca22beb744b5266e0b007c (patch)
tree787be851ef0ab2c29439924c700b3eb7cdfee9b7 /base/initrd/Pkgfile
parentb4397388a864ec2f4cd84eaf55af9e7dfb88fd94 (diff)
downloadnutyx-pakxe-3b4ae7ff11ade5d1f6ca22beb744b5266e0b007c.tar.gz
nutyx-pakxe-3b4ae7ff11ade5d1f6ca22beb744b5266e0b007c.tar.bz2
nutyx-pakxe-3b4ae7ff11ade5d1f6ca22beb744b5266e0b007c.tar.xz
nutyx-pakxe-3b4ae7ff11ade5d1f6ca22beb744b5266e0b007c.zip
maj initrd#2.6.33.3-1
Diffstat (limited to 'base/initrd/Pkgfile')
-rw-r--r--base/initrd/Pkgfile17
1 files changed, 13 insertions, 4 deletions
diff --git a/base/initrd/Pkgfile b/base/initrd/Pkgfile
index fe31d311b..2857314c3 100644
--- a/base/initrd/Pkgfile
+++ b/base/initrd/Pkgfile
@@ -4,9 +4,9 @@
# Packager: thierryn1 at hispeed dot ch
name=initrd
-version=2.6.33.2
-release=3
-_tools=24042010
+version=2.6.33.3
+release=1
+_tools=27042010
_baseversion=2.6.33
SCRIPT_VERSION="attapu"
source=()
@@ -18,7 +18,16 @@ 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/