diff options
author | piernov <piernov@piernov.org> | 2012-05-13 22:27:06 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2012-05-13 22:27:06 +0200 |
commit | 18bf8e9052e39aab1b9c4dda1657ddfaf4793a7d (patch) | |
tree | 00ab5b65d7626860cc2241dc392ccf80a7f71cc8 /kernel-rt/post-install | |
parent | d99f6454103fad928f3b1612cdd35ddf86afa970 (diff) | |
parent | dbbdb621565351ad1a76ee64fc52d4a1feb99c29 (diff) | |
download | nutyx-multimedia-18bf8e9052e39aab1b9c4dda1657ddfaf4793a7d.tar.gz nutyx-multimedia-18bf8e9052e39aab1b9c4dda1657ddfaf4793a7d.tar.bz2 nutyx-multimedia-18bf8e9052e39aab1b9c4dda1657ddfaf4793a7d.tar.xz nutyx-multimedia-18bf8e9052e39aab1b9c4dda1657ddfaf4793a7d.zip |
Merge branch 'master' of ssh://piernov.org/srv/git/nutyx-multimedia
Diffstat (limited to 'kernel-rt/post-install')
-rw-r--r-- | kernel-rt/post-install | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/kernel-rt/post-install b/kernel-rt/post-install index a938076..a746f67 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" +SCRIPT_VERSION="pakxe.4" 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/ |