Re: Modules in 2.5.47-bk...

Adrian Bunk
2002-11-16T13:43:39Z

On Thu, Nov 14, 2002 at 04:45:16PM +0100, Thierry Vignaud wrote:
> Rusty Russell <rusty@rustcorp.com.au> writes:
>
> > > The backward compat thing is really a hack, and not system
> > > software done right :( modutils should not need to rename all its
> > > binaries *.old -- and have that be the default that users see when
> > > installing the rpm. No company worth its shareholders would
> > > release a package full of "*.old" binaries. Come on...
> >
> > OK, would calling it "*-2.4" or something help?
>
> most distros come with some alternative system (at lest, debian, mdk &
> rh), so this problem can legally be left to vendors.

The alternative system doesn't work in this case because it doesn't help
you when you want to switch between 2.4 and 2.6 kernels. You need some
kind of wrapper.

The code that does

if kernel < 2.5.x
if xxx-2.4 exists
run xxx-2.4
else
error: no xxx-2.4
fi
else
do_something
fi

should be included in the new modutils.

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed