The current assignment does not allow a bbappend to be used to overwrite the SYSTEMD_AUTO_ENABLE value in order to have apache2 auto start. You would have to resort to 'manually' creating a link in do_install or a postinst. Using the '?=' assignment will correct this.
One might argue that if apache2 is being installed it would be desirable to have it auto run, so this setting should be removed in favor of the default in systemd.bbclass (enable). In order not to surprise users of this recipe with this change in behavior we opt to keep this as disabled but overwrite-able. Signed-off-by: Mark Asselstine <mark.asselst...@windriver.com> --- meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb b/meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb index f0298b9..60fc411 100644 --- a/meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb +++ b/meta-webserver/recipes-httpd/apache2/apache2_2.4.29.bb @@ -32,7 +32,7 @@ S = "${WORKDIR}/httpd-${PV}" inherit autotools update-rc.d pkgconfig systemd SYSTEMD_SERVICE_${PN} = "apache2.service" -SYSTEMD_AUTO_ENABLE_${PN} = "disable" +SYSTEMD_AUTO_ENABLE_${PN} ?= "disable" SSTATE_SCAN_FILES += "apxs config_vars.mk config.nice" -- 2.7.4 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel