summaryrefslogtreecommitdiffstats
path: root/base/kernel/post-install
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2011-05-26 23:20:40 +0200
committertnut <tnut at nutyx dot com>2011-05-26 23:20:40 +0200
commit50904727563f1fe27e920bdff614a60ba6865f11 (patch)
tree62a64be71c4a0b740b735341080fb36d8edc66f9 /base/kernel/post-install
parent9782b14b6d105170ce18415dfa675ed43e67eb75 (diff)
downloadnutyx-pakxe-50904727563f1fe27e920bdff614a60ba6865f11.tar.gz
nutyx-pakxe-50904727563f1fe27e920bdff614a60ba6865f11.tar.bz2
nutyx-pakxe-50904727563f1fe27e920bdff614a60ba6865f11.tar.xz
nutyx-pakxe-50904727563f1fe27e920bdff614a60ba6865f11.zip
kernel, maj 2.6.38.7-2
Diffstat (limited to 'base/kernel/post-install')
-rw-r--r--base/kernel/post-install5
1 files changed, 4 insertions, 1 deletions
diff --git a/base/kernel/post-install b/base/kernel/post-install
index d318acef3..d6f58eb8f 100644
--- a/base/kernel/post-install
+++ b/base/kernel/post-install
@@ -49,12 +49,15 @@ do
fi
done
if [ -d /lib/modules/$version/kernel/net/sunrpc ]; then
- mkdir -p $WDIR/rootfs/lib/modules/${_baseversion}-NuTyX/kernel/net/
+ mkdir -p $WDIR/rootfs/lib/modules/${version}/kernel/net/
cp -a /lib/modules/$version/kernel/net/sunrpc \
$WDIR/rootfs/lib/modules/$version/kernel/net/
fi
cp /root/bin/install-${SCRIPT_VERSION}.ash $WDIR/rootfs/install/
+cp -a /lib/modules/${version}/modules* \
+$WDIR/rootfs/lib/modules/${version}/
+
# Compression des dossiers
# for i in etc sbin var lib usr
# do mksquashfs $WDIR/rootfs/$i $WDIR/rootfs/sqfs/$i