diff options
Diffstat (limited to 'kernel/post-install')
-rw-r--r-- | kernel/post-install | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/kernel/post-install b/kernel/post-install index fe0aec922..07ac8fbd5 100644 --- a/kernel/post-install +++ b/kernel/post-install @@ -1,14 +1,6 @@ -version=3.2.7 -if [ ! -d /lib/modules/${version} ]; then - echo "post-install impossible" - echo "/lib/modules/${version} pas trouvé" - exit 1 -fi SCRIPT_VERSION="pakxe.3" SRC=/tmp/work WDIR=$SRC/nutyx-initrd -ARCH=`uname -m` -depmod $version if [ ! -d $SRC ]; then mkdir -p $SRC fi @@ -28,7 +20,7 @@ done # Copie des modules kernels mkdir -p $WDIR/rootfs/lib/modules -cp -a /lib/modules/${version} \ +cp -a /lib/modules/* \ $WDIR/rootfs/lib/modules/ # Copie du script d'install |