[OE-core] [PATCH 0/2] Make systemd.bbclass work without SYSTEMD_AUTO_ENABLE.
Randy Witt
rewitt at declaratino.com
Wed Jun 26 17:33:15 UTC 2013
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
More information about the Openembedded-core
mailing list