[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opensuse-packaging
Subject:    Re: [opensuse-packaging] splitting runlevel scripts
From:       "Dr. Werner Fink" <werner () suse ! de>
Date:       2010-07-29 16:48:52
Message-ID: 20100729164852.GC3332 () boole ! suse ! de
[Download RAW message or body]

On Fri, Jul 23, 2010 at 05:03:44PM -0400, Cristian Rodríguez wrote:
> El 23/07/10 16:23, Olaf Hering escribió:
> > 
> > A runlevel script X without further dependencies was split into X and Y.
> > Now Y needs to be started before X.
> 
> y.init
> 
> # X-Start-Before:    X
> 
> x.init
> 
> # X-Stop-After:    Y
> 
> 
> 
> > But for upgrade there is appearently no way to enable Y only if X is
> > already active.
> > 
> > How is this situation supposed to be handled, cleanly?
> 
> Hrmmm.. not sure how to handle this.. Werner ?

IMHO this have to be done in the spec file.
OK it requires some checks in the postinstall
but IMHO this should be possible.

      Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr
-- 
To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-packaging+help@opensuse.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic