sm-sorcery AT lists.ibiblio.org
Subject: Discussion of Sorcery related topics
List archive
- From: Wolfgang Scheicher <worf AT sbox.tu-graz.ac.at>
- To: sm-sorcery AT lists.ibiblio.org
- Subject: Re: [SM-Sorcery] on_cast linux cast_self
- Date: Mon, 2 Feb 2004 10:58:13 +0100
Am Sonntag, 1. Februar 2004 17:32 schrieb Treeve Jelbert:
> We know that 'on_cast linux cast_self' does not always give the required
> results.
>
> Most linux dependent spells use `uname -r` to determine the relevant
> kernel, but this gives the running kernel, not the newly built version.
That's true - unfortunately.
> Would it be feasible to modify sorcery so that the on-cast logic trapped
> the uname command and returned the version of the newly built kernel?
> This would then enable spells such as alsa-driver to be built against the
> new kernel. before rebooting.
Well - some spells got sometimes fixed (by adding configure parameters, by
modifying Makefiles, etc...) to build for the newly built kernel, but since
things always changed and each spell needed special attention, and sometimes
each release, this has been something which was rarely done.
If it's possible to trap uname and return the version the user wants to build
for, things would be way easier, so i like the idea. It will solve quite some
problems with a lot spells at once.
However - it has potential to create new problems. Especially if the user
actually wants to build for some other kernel version. Sorcery would need to
be very verbose about what it's doing and provide a way to set the version.
I'd say: let's try!
Worf
-
[SM-Sorcery] on_cast linux cast_self,
Treeve Jelbert, 02/01/2004
-
Re: [SM-Sorcery] on_cast linux cast_self,
Wolfgang Scheicher, 02/02/2004
-
Re: [SM-Sorcery] on_cast linux cast_self,
Jose Bernardo Silva, 02/02/2004
- Re: [SM-Sorcery] on_cast linux cast_self, Jose Bernardo Silva, 02/03/2004
-
Re: [SM-Sorcery] on_cast linux cast_self,
Jose Bernardo Silva, 02/02/2004
-
Re: [SM-Sorcery] on_cast linux cast_self,
Eric Schabell, 02/03/2004
-
Re: [SM-Sorcery] on_cast linux cast_self,
Ladislav Hagara, 02/03/2004
- Re: [SM-Sorcery] on_cast linux cast_self, Wolfgang Scheicher, 02/03/2004
-
Re: [SM-Sorcery] on_cast linux cast_self,
Eric Sandall, 02/03/2004
- Re: [SM-Sorcery] on_cast linux cast_self, Paul, 02/03/2004
-
Re: [SM-Sorcery] on_cast linux cast_self,
Ladislav Hagara, 02/03/2004
-
Re: [SM-Sorcery] on_cast linux cast_self,
Wolfgang Scheicher, 02/02/2004
Archive powered by MHonArc 2.6.24.