* is there a virtual/sysvinit to prevent hard-depends on sysvinit?
@ 2011-02-17 20:15 AJ ONeal
2011-02-18 10:12 ` Andreas Oberritter
2011-02-18 10:35 ` Henning Heinold
0 siblings, 2 replies; 3+ messages in thread
From: AJ ONeal @ 2011-02-17 20:15 UTC (permalink / raw)
To: openembedded-devel
Is there a virtual/sysvinit?
task-proper-tools depends on sysvinit, which conflicts with upstart.
How could I specify that it should depend on a virtual package?
AJ ONeal
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: is there a virtual/sysvinit to prevent hard-depends on sysvinit?
2011-02-17 20:15 is there a virtual/sysvinit to prevent hard-depends on sysvinit? AJ ONeal
@ 2011-02-18 10:12 ` Andreas Oberritter
2011-02-18 10:35 ` Henning Heinold
1 sibling, 0 replies; 3+ messages in thread
From: Andreas Oberritter @ 2011-02-18 10:12 UTC (permalink / raw)
To: openembedded-devel
On 02/17/2011 09:15 PM, AJ ONeal wrote:
> Is there a virtual/sysvinit?
I don't think so, because IMAGE_INIT_MANAGER is probably sufficient for
most other cases. In case it's going to be added, I think it should be
called virtual/init.
Fwiw, I'm currently evaluating upstart, too. I'm using COMBINED_FEATURES
to conditionally enable upstart, because it requires some minimum kernel
version, e.g.:
IMAGE_INIT_MANAGER ?= "${@base_contains('COMBINED_FEATURES', 'upstart',
'upstart upstart-sysvcompat util-linux-ng-blkid', 'sysvinit
sysvinit-pidof', d)}"
I've created a short-lived branch to show how I currently intend to
handle the coexistence of sysvinit and upstart in recipes (last 3 commits):
http://git.opendreambox.org/?p=obi/openembedded.git;a=shortlog;h=refs/heads/upstart
How do you handle that?
> task-proper-tools depends on sysvinit, which conflicts with upstart.
>
> How could I specify that it should depend on a virtual package?
virtual/init could be provided by busybox, so if task-proper-tools
depended on that, it wouldn't achive its purpose.
You could use "${@base_contains('COMBINED_FEATURES', 'upstart',
'upstart', 'sysvinit', d)}", which isn't the best solution either,
considering that other init replacements like systemd might get added in
the future.
Regards,
Andreas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: is there a virtual/sysvinit to prevent hard-depends on sysvinit?
2011-02-17 20:15 is there a virtual/sysvinit to prevent hard-depends on sysvinit? AJ ONeal
2011-02-18 10:12 ` Andreas Oberritter
@ 2011-02-18 10:35 ` Henning Heinold
1 sibling, 0 replies; 3+ messages in thread
From: Henning Heinold @ 2011-02-18 10:35 UTC (permalink / raw)
To: openembedded-devel
On Thu, Feb 17, 2011 at 01:15:43PM -0700, AJ ONeal wrote:
> Is there a virtual/sysvinit?
>
> task-proper-tools depends on sysvinit, which conflicts with upstart.
>
> How could I specify that it should depend on a virtual package?
>
> AJ ONeal
Hi,
obi(Andreas Oberriter) is working on a upstart. You can find his tree here
http://git.opendreambox.org/?p=obi/openembedded.git;a=log;h=refs/heads/upstart
Bye Henning
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-02-18 10:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-17 20:15 is there a virtual/sysvinit to prevent hard-depends on sysvinit? AJ ONeal
2011-02-18 10:12 ` Andreas Oberritter
2011-02-18 10:35 ` Henning Heinold
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.