There's a lot of boilerplate involved in creating an s6 service. On at
least one occation, I missed declaring the *_s6rc_dependencies as a
recipe flag, so the service got created without proper
dependencies. Make this a little less error-prone and allow omitting the
"RECIPE_FLAGS += " lines by automatically defining them based on the
services.
This will of course not work for service names that are added to
S6RC_*_SERVICES depending on a USE flag setting, but there are none of
those currently in meta/base or meta/core, and it is still possible to
manually add to recipe flags.
There's a lot of boilerplate involved in creating an s6 service. On at least one occation, I missed declaring the *_s6rc_dependencies as a recipe flag, so the service got created without proper dependencies. Make this a little less error-prone and allow omitting the "RECIPE_FLAGS += " lines by automatically defining them based on the services.
This will of course not work for service names that are added to S6RC_*_SERVICES depending on a USE flag setting, but there are none of those currently in meta/base or meta/core, and it is still possible to manually add to recipe flags.