Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[script] Apres genkernel
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
ZeLegolas
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2005
Posts: 128

PostPosted: Sat Jun 07, 2008 5:09 am    Post subject: [script] Apres genkernel Reply with quote

Certain packages sont intimement lies aux sources du kernel. Quand vous reinstalle votre Kernel il est preferable de les recompiler.

Voici un petit script pour vous aider :
Code:
#!/bin/bash
#Recherche tous les packages installes qui sont dependant de la
# version du kernel et les reinstalles pour le nouveau kernel
    
qgrep -C -N -l -J linux-mod_pkg | while read PACKAGE
do
 emerge $* "=$PACKAGE"
done

qgrep fait partie du package portage-utils, vous devez l'avoir installe au prealable
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Sat Jun 07, 2008 4:27 pm    Post subject: Reply with quote

Ça existe déjà, qui fonctionne avec un mécanisme exprès pour ça dans Portage :
Code:
[I] sys-kernel/module-rebuild
     Available versions:  *0.1 0.5
     Installed versions:  0.5(03:04:01 PM 03/13/2008)
     Homepage:            http://www.gentoo.org/
     Description:         A utility to rebuild any kernel modules which you have installed

Et ça s'utilise avec un simple module-rebuild rebuild ;)
Back to top
View user's profile Send private message
ZeLegolas
Tux's lil' helper
Tux's lil' helper


Joined: 26 Apr 2005
Posts: 128

PostPosted: Sat Jun 07, 2008 5:41 pm    Post subject: Reply with quote

geekounet wrote:
Ça existe déjà, qui fonctionne avec un mécanisme exprès pour ça dans Portage :
Code:
[I] sys-kernel/module-rebuild
     Available versions:  *0.1 0.5
     Installed versions:  0.5(03:04:01 PM 03/13/2008)
     Homepage:            http://www.gentoo.org/
     Description:         A utility to rebuild any kernel modules which you have installed

Et ça s'utilise avec un simple module-rebuild rebuild ;)


Je l'avais pas repere celui-la, merci :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum