commit | 68f2ead7807b7684c2b8d8e58326303a3123ba1c | [log] [tgz] |
---|---|---|
author | Patrick Williams <patrick@stwcx.xyz> | Fri Oct 06 18:29:16 2023 -0500 |
committer | Patrick Williams <patrick@stwcx.xyz> | Wed Oct 11 00:29:09 2023 -0500 |
tree | c11d59896af3b103fd6077454818738df0177f8d | |
parent | 312d61307afdc47acbe9087534c69e55c7054fac [diff] |
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 = ""