summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/initrd/.md5sum4
-rw-r--r--base/initrd/Pkgfile12
2 files changed, 9 insertions, 7 deletions
diff --git a/base/initrd/.md5sum b/base/initrd/.md5sum
index f4b9ee394..54a6e139c 100644
--- a/base/initrd/.md5sum
+++ b/base/initrd/.md5sum
@@ -1,4 +1,4 @@
-801f96d9cb22395e3a72a480a80309c8 install-attapu.ash
-08af0af7d234f1505abb92a414339c81 installtools-09092010.tar.gz
+e347855974710eabeff4fee553624203 install-attapu.ash
+311e335cd26d923326ee7607a678a445 installtools-10092010.tar.gz
f94507ead075b96cf877cbe45426f9e6 kernel%232.6.34.6-1.pkg.tar.xz
fdd82dc8a90aeb7029e5df5dd1c4784d nutyx-initrd-extra-24082010.tar.bz2
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