Re: Modules in 2.5.47-bk...

From: Adrian Bunk (bunk@fs.tum.de)
Date: Sat Nov 16 2002 - 08:50:30 EST


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

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:17 EST