Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] udev.permissions

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Flavien Bridault <f.bridault AT fra.net>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] udev.permissions
  • Date: Sun, 13 Feb 2005 20:33:12 +0100

Le Samedi 12 Février 2005 23:23, Eric Sandall a écrit :
> Quoting Flavien Bridault <f.bridault AT fra.net>:
> > Mmmm.... Yes it should be better... You're obviously right... But you
> > wanted to say PRE_BUILD, don't you ? Since afaik PREPARE no longer exists
> > in BUILD_API 2 ??
> >
> > How can I do this properly ?? Ask the user if is right for updating udev,
> > with
> > default to no ?? How can I exit the spell properly ??
>
> PREPARE exists in build_api 2.
>
> You could do this in PREPARE:
>
> message "${MESSAGE_COLOR}<long warning>${DEFAULT_COLOR}" &&
> config_query UDEV_UPDATE "Do you still wish to continue?" n &&
>
> if [ "$UDEV_UPDATE" == "n" ]; then
> return 1
> fi
>
> -sandalle
>
> --
> Eric Sandall | Source Mage GNU/Linux Developer
> eric AT sandall.us PGP: 0xA8EFDD61 | http://www.sourcemage.org/
> http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
> http://counter.li.org/ #196285 | http://www.shock.wsu.edu/
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss

Just come back from the week-end...

I modified the udev spell once again and did this stuff. It is a bit too late
for people who use test grimoire, but it should be useful for people who use
stable grimoire.

Sorry for the question about PREPARE file, but it seems it was not obvious
for
everyone (according to a discussion on #sourcemage...). Some people use
CONFIGURE to do this kind of stuff (that should not work, but it works, see
kde spells for instance ;-) ).

I wonder if such warnings should not become a rule when big changes happen in
a spell. Maybe a notice in guru handbook should be added ??? We can even
imagine that a sorcery, or a grimoire function could simplify this ?? Any
suggestion about this ??

--
Flavien Bridault
Source Mage GNU/Linux - Disk Guru

IRC : vlaaad
Jabber : vlaaad AT amessage.be

http://www.sourcemage.org




Archive powered by MHonArc 2.6.24.

Top of Page