Mailinglist Archive: opensuse-packaging (67 mails)

< Previous Next >
Re: [opensuse-packaging] splitting runlevel scripts
  • From: "Dr. Werner Fink" <werner@xxxxxxx>
  • Date: Thu, 29 Jul 2010 18:48:52 +0200
  • Message-id: <20100729164852.GC3332@xxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >