diff options
author | Patrick Williams <patrick@stwcx.xyz> | 2023-10-07 02:29:16 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2023-10-11 08:29:09 +0300 |
commit | 68f2ead7807b7684c2b8d8e58326303a3123ba1c (patch) | |
tree | c11d59896af3b103fd6077454818738df0177f8d | |
parent | 312d61307afdc47acbe9087534c69e55c7054fac (diff) | |
download | openbmc-68f2ead7807b7684c2b8d8e58326303a3123ba1c.tar.xz |
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
-rw-r--r-- | meta-phosphor/conf/distro/include/phosphor-no-webui.inc | 2 | ||||
-rw-r--r-- | meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb | 5 |
2 files changed, 4 insertions, 3 deletions
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 0000000000..8f905577a4 --- /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 1bd5516a74..37061fc146 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 @@ RDEPENDS:${PN}-dmtf-pmci = " \ " SUMMARY:${PN}-webui = "Web User Interface support" -RDEPENDS:${PN}-webui = " \ - webui-vue \ - " +RDEPENDS:${PN}-webui = "webui-vue" +RDEPENDS:${PN}-webui:df-phosphor-no-webui = "" |