[oe] [meta-webserver][PATCH] meta-webserver: apache2 allow SYSTEMD_AUTO_ENABLE to be overwritten

Mark Asselstine mark.asselstine at windriver.com
Thu Nov 16 20:00:21 UTC 2017


On Thursday, November 16, 2017 7:28:06 PM EST Patrick Ohly wrote:
> On Thu, 2017-11-16 at 10:19 -0500, Mark Asselstine wrote:
> > 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.
> 
> Why does SYSTEMD_AUTO_ENABLE_${PN} = "enable" in a apache2_*.bb not
> work? It works fine for me with wpa-supplicant:

Sorry. You are correct the bbappend will overwrite it, but this requires a 
bbappend. If this used "?=" you could achieve this in a local.conf or similar. 
In general if there is a possibility for a value to be desireable to overwrite 
using "?=" makes sense. Thoughts?

Mark


> 
> wpa-supplicant_2.6.bb: SYSTEMD_AUTO_ENABLE = "disable"
> wpa-supplicant_2.6.bbappend: SYSTEMD_AUTO_ENABLE = "enable"
> => bitbake -e shows "enable"





More information about the Openembedded-devel mailing list