diff options
Diffstat (limited to 'base/kernel/post-install')
-rw-r--r-- | base/kernel/post-install | 5 |
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 |