From 9d025c5b559133857d8e59ee1a9084c9f79b0c23 Mon Sep 17 00:00:00 2001 From: piernov Date: Mon, 5 Mar 2012 22:10:44 +0000 Subject: kernel-rt 3.2.9-rt15-1 màj port MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kernel-rt/post-install | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) (limited to 'kernel-rt/post-install') diff --git a/kernel-rt/post-install b/kernel-rt/post-install index a938076..43ae9d4 100644 --- a/kernel-rt/post-install +++ b/kernel-rt/post-install @@ -1,14 +1,6 @@ -version=3.2.1 -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,9 +20,12 @@ done # Copie des modules kernels mkdir -p $WDIR/rootfs/lib/modules -cp -a /lib/modules/${version} \ +cp -a /lib/modules/* \ $WDIR/rootfs/lib/modules/ +cp -a /lib/firmware \ +$WDIR/rootfs/lib/ + # Copie du script d'install cp /root/bin/install-${SCRIPT_VERSION}.ash $WDIR/rootfs/install/ -- cgit v1.2.3-70-g09d2