rel w EXTRAVERSION w kernelu

Michal Moskal malekith w pld.org.pl
Pon, 22 Paź 2001, 13:15:43 CEST


On Mon, Oct 22, 2001 at 11:46:50AM +0200, Jarosław Kamper wrote:
> On Mon, Oct 22, 2001 at 12:51:49AM +0200, Jan Rekorajski wrote:
> > [niedziela, 21 październik 2001], Tomasz Kłoczko napisał(a):
> > > Co było przeciwskazaniem żeby wrzucać rel pakietu do 
> > > EXTRAVERSION w kernelu ? Pamięta to ktoś ?
> > A choćby to że jak zmienisz release to bedziesz musiał przebudować
> > wszystkie pakiety z modułami. Co w 99% przypadków jest zupełnie 
> > niepotrzebne.
> 
> Loadable module support  ---> [*] Set version information on all symbols
> for modules
> 
>          Set version information on all symbols for modules
>   CONFIG_MODVERSIONS: 
>   
>   Usually, modules have to be recompiled whenever you switch to a new
>   kernel. Saying Y here makes it possible, and safe, to use the
>   same modules even after compiling a new kernel; this requires the
>   program modprobe. All the software needed for module support is in
>   the modutils package (check the file Documentation/Changes for
>   location and latest version). NOTE: if you say Y here but don't
>   have the program genksyms (which is also contained in the above
>   mentioned modutils package), then the building of your kernel will
>   fail. If you are going to use modules that are generated from
>   non-kernel sources, you would benefit from this option. Otherwise
>   it's not that important. So, N ought to be a safe bet.
> 
> A czy to nie byłoby rozwiązaniem? Nie znam się, ani nie testowałem.

Problemem jest to, w jakim katalogu beda ladowac moduly...

Czy ktos przypadkiem nie proponowal w miare sensownego rozwiazania
problemu w rodzaju:

kernel.spec

%post

if [ -d /lib/modules/2.2.19 ] ; then
  mv /lib/modules/2.2.19/* /lib/modules/2.2.19-25
  rm -rf /lib/modules/2.2.19
fi

ln -sf /lib/modules/2.2.19-25 /lib/modules/2.2.19

?

(modulo makra rpm'a, zamiast wersji na stale)

-- 
: Michal ``,/\/\,       '' Moskal    | |            : GCS {C,UL}++++$
:          |    |alekith      @    |)|(| . org . pl : {E--, W, w-,M}-
:    Linux: We are dot in .ORG.    |                : {b,e>+}++ !tv h
: CurProj: ftp://ftp.pld.org.pl/people/malekith/ksi : PLD Team member



Więcej informacji o liście dyskusyjnej pld-devel-pl