Currently when using systemd.bbclass, the package will always get a postinst function that either enables or disables on install, based on the value of the SYSTEMD_AUTO_ENABLE variable.
There are instances where automatic disabling or enabling on package install is not desired so this set of patches allows for a package to override the systemd_postinst routine to be empty. The moving of the functions in the second patch is mostly to make sure that changes to systemd_postinst in a recipe actually cause the package tasks to rerun. Randy Witt (2): systemd: Don't enable systemd services when native. systemd: Move functions that only affect metadata to parse time. meta/classes/systemd.bbclass | 72 ++++++++++++++++++++++++-------------------- 1 file changed, 39 insertions(+), 33 deletions(-) -- 1.8.1.4 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core