meta-phosphor: create 'no-webui' DISTRO_FEATURE

Define an explicit distro feature that allows machines to opt-out of
having a webui.  Add an include file for easy inclusion.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ib2a5c6af022c6dff8f1c9bb176b99e44f24faab1
diff --git a/meta-phosphor/conf/distro/include/phosphor-no-webui.inc b/meta-phosphor/conf/distro/include/phosphor-no-webui.inc
new file mode 100644
index 0000000..8f90557
--- /dev/null
+++ b/meta-phosphor/conf/distro/include/phosphor-no-webui.inc
@@ -0,0 +1,2 @@
+DISTRO_FEATURES += "phosphor-no-webui"
+DISTROOVERRIDES .= ":df-phosphor-no-webui"
diff --git a/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb b/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
index 1bd5516..37061fc 100644
--- a/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
+++ b/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
@@ -210,6 +210,5 @@
         "
 
 SUMMARY:${PN}-webui = "Web User Interface support"
-RDEPENDS:${PN}-webui = " \
-        webui-vue \
-        "
+RDEPENDS:${PN}-webui = "webui-vue"
+RDEPENDS:${PN}-webui:df-phosphor-no-webui = ""