meta-phosphor:user-manager: add PACKAGECONFIG for root
This is an option defined within the meson.options of
phosphor-user-manager so lets get a PACKAGECONFIG defined so users can
easily disable it if needed.
The default in the repo is for it to be enabled so keep that default.
Change-Id: Id8fe86081df47304917171c8ece64263187987a8
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb b/meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb
index 42160fe..23006ae 100644
--- a/meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb
+++ b/meta-phosphor/recipes-phosphor/users/phosphor-user-manager_git.bb
@@ -24,6 +24,10 @@
EXTRA_OEMESON = "-Dtests=disabled"
+PACKAGECONFIG ?= "root-user-mgmt"
+PACKAGECONFIG[root-user-mgmt] = "-Droot_user_mgmt=enabled, -Droot_user_mgmt=disabled"
+
+
do_install:append() {
install -d ${D}${libexecdir}
install -m 0755 ${WORKDIR}/upgrade_hostconsole_group.sh ${D}${libexecdir}/upgrade_hostconsole_group.sh