[OE-core] [PATCH] packagegroup: Add init-manager sanity check

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Thu Apr 18 10:19:27 UTC 2013


Richard Purdie
<richard.purdie-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r at public.gmane.org>
writes:

> Currently, you can set VIRTUAL-RUNTIME_init_manager to an init system
> that isn't in DISTRO_FEATURES. This leads to head scratching over
> unbootable images.

Because this sanity check is placed into an anonymous function, this
change affects also images which do not not include packagegroup-core*
in their images and are not using VIRTUAL-RUNTIME_init_manager at all.

It would be probably better to execute this check only, when the package
gets built.  Or add

DEPENDS += "${@some_check(d)}"

where some_check(d) evaluates to 'broken-virtual-runtime' or so when bad
configuration has been detected and empty else.



Enrico




More information about the Openembedded-core mailing list