[Openembedded-users] Where to set IMAGE_INIT_MANAGER?

AJ ONeal coolaj86 at gmail.com
Thu Nov 11 16:56:23 UTC 2010


I was told to set IMAGE_INIT_MANAGER in my "distro conf file", but when I
look it seems that my distro (angstrom on gumstix) doesn't set this.

cd ~/overo-oe
grep IMAGE_INIT_MANAGER -R ./build ./bitbake ./org.openembedded.dev
org.openembedded.dev/conf/distro/openprotium.conf:IMAGE_INIT_MANAGER =
"sysvinit"
org.openembedded.dev/classes/image.bbclass:IMAGE_INIT_MANAGER ?= "sysvinit
sysvinit-pidof"
org.openembedded.dev/classes/image.bbclass:
${IMAGE_INIT_MANAGER} \
org.openembedded.dev/recipes/images/initramfs-kexecboot-image.bb:IMAGE_INIT_MANAGER
= ""
org.openembedded.dev/recipes/images/micro-image.bb:IMAGE_INIT_MANAGER =
"sysvinit sysvinit-pidof"
org.openembedded.dev/recipes/images/helloworld-image.bb:IMAGE_INIT_MANAGER =
""
org.openembedded.dev/recipes/images/micro-base-image.bb:IMAGE_INIT_MANAGER =
"sysvinit sysvinit-pidof"


So if I want to use upstart as my init manager should I just copy and paste
from console-base-image.bb and create another bb in

user.collection/recipes/images/coolaj86-image.bb

with the override?

AJ ONeal

On Wed, Nov 10, 2010 at 8:21 PM, Anatoly Shipitsin <norguhtar at gmail.com>wrote:

>
>
> On Thu, Nov 11, 2010 at 02:19, AJ ONeal <coolaj86 at gmail.com> wrote:
>
>> I bitbaked upstart again today, but it still doesn't seem to be working
>> for me.
>>
>> I created the directory `/etc/init`
>> I created `/etc/init/my-server.conf`
>> When I run `start my-server`
>> I get `start: Unknown job: my-server`
>>
>> I tried `initctl list` and it just hangs.
>>
>> What am I doing wrong?
>>
>> OpenEmbedded repository included old upstart-0.3.11 without dbus depend.
> This upstart use other directory /etc/event.d.
> For right work upstart you need change IMAGE_INIT_MANAGER in used distro
> file:
> IMAGE_INIT_MANAGER="upstart upstart-sysvcompat sysvinit-utils"
>
> And rebuild distro. After this your image should use upstart as init.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-users/attachments/20101111/b88c9878/attachment-0002.html>


More information about the Openembedded-users mailing list