sm-sorcery AT lists.ibiblio.org
Subject: Discussion of Sorcery related topics
List archive
- From: "Jose Bernardo Silva" <jbs AT bandos.homelinux.com>
- To: sm-sorcery AT lists.ibiblio.org
- Subject: Re: [SM-Sorcery] on_cast linux cast_self
- Date: Mon, 2 Feb 2004 11:15:54 +0000
On Mon, 2 Feb 2004 10:58:13 +0100, Wolfgang Scheicher wrote
> 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,
What I did on a spell was to add a query on PREPARE asking the user if he
wanted to build it for the running kernel (uname -r) or for the installed
version of the linux spell. It seems to me that would be the best option, let
the user choose. And if we could trap the uname call, it could easily be done
inside sorcery.
---
Jose Bernardo B R Silva | Source Mage GNU/Linux Section Guru
jbernardo AT sourcemage.org | http://www.sourcemage.org
http://counter.li.org #245602
http://cosmos.oninetspeed.pt/jose.bernardo
jbs AT bandos.homelinux.com
-
[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.