summaryrefslogtreecommitdiffstats
path: root/base/initrd/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-10-19 22:56:21 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-10-19 22:56:21 +0200
commit71000456e5db52062730b6cdc8e03cf55b940512 (patch)
tree3a3e5050fb06c2a265164ab60ce363341e403a72 /base/initrd/Pkgfile
parente4c177af4409c2ad26db58fa99bf3aecd859b97a (diff)
downloadnutyx-extra-71000456e5db52062730b6cdc8e03cf55b940512.tar.gz
nutyx-extra-71000456e5db52062730b6cdc8e03cf55b940512.tar.bz2
nutyx-extra-71000456e5db52062730b6cdc8e03cf55b940512.tar.xz
nutyx-extra-71000456e5db52062730b6cdc8e03cf55b940512.zip
maj initrd#2.6.31.4-1
Diffstat (limited to 'base/initrd/Pkgfile')
-rw-r--r--base/initrd/Pkgfile11
1 files changed, 6 insertions, 5 deletions
diff --git a/base/initrd/Pkgfile b/base/initrd/Pkgfile
index cd454c276..252011e51 100644
--- a/base/initrd/Pkgfile
+++ b/base/initrd/Pkgfile
@@ -5,12 +5,13 @@
# Depends on: kernel
name=initrd
-version=2.6.31.3
+version=2.6.31.4
release=1
_tools=10102009
+_script="install-2009.1-rc1"
source=()
build(){
-wget http://kiao.no-ip.info/NuTyX/tools/install-2009.1.ash
+wget http://kiao.no-ip.info/NuTyX/tools/${_script}.ash
wget http://kiao.no-ip.info/NuTyX/2009.1/`uname -m`/release/kernel%23$version-1.pkg.tar.gz
WDIR=$SRC/installtools
tar xf kernel*
@@ -43,9 +44,9 @@ do
done
$WDIR/rootfs/sbin/depmod -b $WDIR/rootfs $version
-cp install-2009.1.ash $WDIR/rootfs/root/
-sed -i "s/install_2009/install-2009.1/g" $WDIR/rootfs/usr/bin/setup
-sed -i "s/install_2009/install-2009.1/g" $WDIR/rootfs/sbin/setup-mirroir
+cp ${_script}.ash $WDIR/rootfs/root/
+sed -i "s/install_2009/${_script}/g" $WDIR/rootfs/usr/bin/setup
+sed -i "s/install_2009/${_script}/g" $WDIR/rootfs/sbin/setup-mirroir
# Compression des modules
cd $WDIR/rootfs/lib/modules/$version