* DISTRO_FEATURES modification from image recipe?
@ 2016-06-07 12:10 piotr.lewicki
2016-06-07 13:53 ` Burton, Ross
0 siblings, 1 reply; 4+ messages in thread
From: piotr.lewicki @ 2016-06-07 12:10 UTC (permalink / raw)
To: yocto
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DISTRO_FEATURES modification from image recipe?
2016-06-07 12:10 DISTRO_FEATURES modification from image recipe? piotr.lewicki
@ 2016-06-07 13:53 ` Burton, Ross
2016-06-08 9:20 ` piotr.lewicki
0 siblings, 1 reply; 4+ messages in thread
From: Burton, Ross @ 2016-06-07 13:53 UTC (permalink / raw)
To: piotr.lewicki; +Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 530 bytes --]
On 7 June 2016 at 13:10, piotr.lewicki <piotr.lewicki@elfin.de> 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
[-- Attachment #2: Type: text/html, Size: 946 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: DISTRO_FEATURES modification from image recipe?
2016-06-07 13:53 ` Burton, Ross
@ 2016-06-08 9:20 ` piotr.lewicki
2016-06-08 9:28 ` Burton, Ross
0 siblings, 1 reply; 4+ messages in thread
From: piotr.lewicki @ 2016-06-08 9:20 UTC (permalink / raw)
To: Burton, Ross; +Cc: yocto@yoctoproject.org
[-- Attachment #1: Type: text/plain, Size: 900 bytes --]
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 <piotr.lewicki@elfin.de
> <mailto:piotr.lewicki@elfin.de>> 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
[-- Attachment #2: Type: text/html, Size: 2003 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-06-08 9:29 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-07 12:10 DISTRO_FEATURES modification from image recipe? piotr.lewicki
2016-06-07 13:53 ` Burton, Ross
2016-06-08 9:20 ` piotr.lewicki
2016-06-08 9:28 ` Burton, Ross
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.