little patch for kallsyms (kernel2.6) (package : initscripts)
Alexandre Oliva
aoliva at redhat.com
Mon Nov 24 13:06:57 UTC 2003
On Nov 24, 2003, Philip Van Hoof <spamfrommailing at freax.org> wrote:
> My proposal would be to create kernel-dependant parts of the scripts in
> folders like
I doubt this would scale.
case `uname -r` in
2.4.* | 2.5.[0-9]-* | 2.5.[1-2][0-9]-* | 2.5.3[0-4]-*) do something ;;
2.5.* | 2.6.*) do something else ;;
esac
seems to give far more flexibility in case changes are introduced in
minor versions, which is quite common in unstable releases, and not
entirely unheard-of in a stable series. So, this solution looks far
more workable to me. Version numbers above are entirely random; no
implication whatsoever is to be derived from them. I don't even know
whether the 2.5 series got as far as 35 :-)
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer
More information about the fedora-devel-list
mailing list