Re: [yocto] DISTRO_FEATURES modification from image recipe?
Thanks. I actually want to enable systemd in all packages, but my current DISTRO is "poky". Can you point me some documentation where I can get information on how to create a distro file based on poky and add systemd there? Thanks, Piotr On 07.06.2016 15:53, Burton, Ross wrote: On 7 June 2016 at 13:10, piotr.lewicki> wrote: Is it possible to manipulate DISTRO_FEATURES from my image recipe file? No. You should control distro features in your distro configuration or if they're for local tweaking in your local.conf. Would it be helpful if you explained why you want to enable systemd in some images but not others? In this case the systemd feature isn't exclusive with sysvinit, you can enable both and pick on a per-image basis what init system is used. Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
Re: [yocto] DISTRO_FEATURES modification from image recipe?
On 7 June 2016 at 13:10, piotr.lewickiwrote: > Is it possible to manipulate DISTRO_FEATURES from my image recipe file? > No. You should control distro features in your distro configuration or if they're for local tweaking in your local.conf. Would it be helpful if you explained why you want to enable systemd in some images but not others? In this case the systemd feature isn't exclusive with sysvinit, you can enable both and pick on a per-image basis what init system is used. Ross -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto
[yocto] DISTRO_FEATURES modification from image recipe?
Hi, Is it possible to manipulate DISTRO_FEATURES from my image recipe file? In my case I added line: DISTRO_FEATURES += " systemd" to local.conf and it worked (added systemd), but when I moved this line to my image.bb recipe I got build errors: ERROR: Required build target 'my-image' has no buildable providers. Missing or unbuildable dependency chain was: ['my-image', 'my-app', 'systemd'] I already have in my image recipe line: DISTRO_FEATURES_append = " gles2" so I tried to add systemd to it like so: DISTRO_FEATURES_append = " gles2 systemd" but it didn't help. Can you help a me? What should I put and where to enable distro-feature: systemd without manipulating with local.conf? Is that possible? Thanks Piotr Lewicki -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto