summaryrefslogtreecommitdiffstats
path: root/kernel/post-install
diff options
context:
space:
mode:
authortnut <tnut at nutyx dot com>2012-02-23 22:48:57 +0100
committertnut <tnut at nutyx dot com>2012-02-23 22:48:57 +0100
commitc924455f9385345ca20996f2e7a2d6b90615de23 (patch)
treef8a681e858e40623973d45e55e1c161274d93c87 /kernel/post-install
parent13ee9171beee3ba1d3c3b2bde1049e399c8b0d3d (diff)
downloadnutyx-pakxe-c924455f9385345ca20996f2e7a2d6b90615de23.tar.gz
nutyx-pakxe-c924455f9385345ca20996f2e7a2d6b90615de23.tar.bz2
nutyx-pakxe-c924455f9385345ca20996f2e7a2d6b90615de23.tar.xz
nutyx-pakxe-c924455f9385345ca20996f2e7a2d6b90615de23.zip
kernel, maj 3.2.7-2
Diffstat (limited to 'kernel/post-install')
-rw-r--r--kernel/post-install10
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