Skip to contentSkip to conversation

Generating an image with systemd and connman

DISCUSSION Christian Gagneraud 2 participants 3 messages Jul 24, 2013 – Jul 25, 2013

lore
Share & tools
lore
#0 lore raw

Hi there,

I have successfully generated Dylan core-image-minimal with the meta-ti layer. I would like to know what is the procedure to select systemd for the init process and connman as the network manager.

It seems to me that systemd can be selected using EXTRA_IMAGE_FEATURES from local.conf (at least with the poky distro) The Yocto dev manual mention using DISTRO_FEATURES_append but it is usable when creating a custom distro.

Concerning connman, I found references only in sato and self-hosted images.

As well, I would like to know how can I make Qt build depends on connman, so that I get the right bearer plugin.

Any help or point out greatly appreciated.

Regards,
Chris

#1 lore raw

Hi Christian,

Quoted 10 lines · Christian Gagneraud

Hi there,

I have successfully generated Dylan core-image-minimal with the meta-ti layer. I would like to know what is the procedure to select systemd for the init process and connman as the network manager.

It seems to me that systemd can be selected using EXTRA_IMAGE_FEATURES from local.conf (at least with the poky distro)
The Yocto dev manual mention using DISTRO_FEATURES_append but it is usable when creating a custom distro.

I have

VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = ""
DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED="sysvinit"

in my distro conf file and after that the generated system does only systemd. But I am creating a custom distro so I am not sure if these settings are any help for you.

Cheers,
Jukka

#2 lore raw
Quoted 16 lines · Jukka Rissanen

Hi Christian,

Quoted 10 lines · Christian Gagneraud

Hi there,

I have successfully generated Dylan core-image-minimal with the meta-ti layer. I would like to know what is the procedure to select systemd for the init process and connman as the network manager.

It seems to me that systemd can be selected using EXTRA_IMAGE_FEATURES from local.conf (at least with the poky distro)
The Yocto dev manual mention using DISTRO_FEATURES_append but it is usable when creating a custom distro.

I have

Quoted 8 lines

VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = ""
DISTRO_FEATURES_append = " systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED="sysvinit"

in my distro conf file and after that the generated system does only systemd. But I am creating a custom distro so I am not sure if these settings are any help for you.

Thanks, I might have to go this way at some point anyway.
Are you using the meta-systemd layer? If so, could you give me more details about your setup please?

Chris

Quoted 5 lines

Cheers,
Jukka