summaryrefslogtreecommitdiffstats
path: root/base/initrd/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'base/initrd/Pkgfile')
-rw-r--r--base/initrd/Pkgfile12
1 files changed, 7 insertions, 5 deletions
diff --git a/base/initrd/Pkgfile b/base/initrd/Pkgfile
index e6ebdbe7a..6753fe13c 100644
--- a/base/initrd/Pkgfile
+++ b/base/initrd/Pkgfile
@@ -5,8 +5,8 @@
name=initrd
version=2.6.34.6
-release=2
-_tools=09092010
+release=3
+_tools=10092010
_extra=24082010
_baseversion=2.6.34
SCRIPT_VERSION="attapu"
@@ -24,8 +24,10 @@ for i in $WDIR/rootfs/install/setup-install \
do
sed -i "s|#INSTALL#|install-$SCRIPT_VERSION.ash|" $i
done
-sed -i "s|#VERSION#|$SCRIPT_VERSION|" $WDIR/rootfs/install/setup-grub
-
+for i in setup-grub functions setup-main main.txt
+do
+ sed -i "s|#VERSION#|$SCRIPT_VERSION|" $WDIR/rootfs/install/$i
+done
# Copie des modules kernels
mkdir -p $WDIR/rootfs/lib/modules/${_baseversion}-NuTyX/kernel/{drivers,fs}
cp -a lib/modules/${_baseversion}-NuTyX/kernel/crypto \
@@ -57,7 +59,7 @@ if [ -d lib/modules/${_baseversion}-NuTyX/kernel/net/sunrpc ]; then
fi
$WDIR/rootfs/sbin/depmod -b $WDIR/rootfs ${_baseversion}-NuTyX
rm $WDIR/rootfs/sbin/depmod
-cp install-${SCRIPT_VERSION}.ash $WDIR/rootfs/root/
+cp install-${SCRIPT_VERSION}.ash $WDIR/rootfs/install/
# Compression des modules
cd $WDIR/rootfs/lib/modules/${_baseversion}-NuTyX