[OE-core] [PATCH 1/2] rng-tools: Import recipe from meta-openembedded
Burton, Ross
ross.burton at intel.com
Fri Feb 12 20:20:56 UTC 2016
On 12 February 2016 at 18:55, Saul Wold <sgw at linux.intel.com> wrote:
> +# As the recipe doesn't inherit systemd.bbclass, we need to set this
> variable
> +# manually to avoid unnecessary postinst/preinst generated.
> +python () {
> + if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False,
> d):
> + d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
> +}
>
Can't help but think that stealing a unit from Fedora would clean this and
the do_install_append logic up (conditionals are not required if systemd is
inherited as it removes those for you).
Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160212/59969fcf/attachment-0002.html>
More information about the Openembedded-core
mailing list