phosphor-image: Avoid CORE_IMAGE_EXTRA_INSTALL
CORE_IMAGE_EXTRA_INSTALL is a dumping ground. Move packages to proper
packagroups (console/sol, rng) and create IMAGE_FEATURES for easy
opt-out.
Move the ffdc application to the debugging packagegroup. Move the
pam-access plugin to the user management packagegroup.
(From meta-phosphor rev: 94bf53d44193b6c5d123c462333fdedf91613370)
Change-Id: If43af92f9bfcb6e0eef08adefbce077defd90b8d
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb b/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
index 057509d..1da216c 100644
--- a/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
+++ b/meta-phosphor/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
@@ -7,6 +7,7 @@
PACKAGES = " \
${PN}-bmc-state-mgmt \
${PN}-chassis-state-mgmt \
+ ${PN}-console \
${PN}-extras \
${PN}-devtools \
${PN}-fan-control \
@@ -15,6 +16,7 @@
${PN}-leds \
${PN}-logging \
${PN}-remote-logging \
+ ${PN}-rng \
${PN}-sensors \
${PN}-software \
${PN}-host-check-mgmt \
@@ -36,6 +38,11 @@
obmc-phosphor-power \
"
+SUMMARY_${PN}-console = "Serial over LAN support"
+RDEPENDS_${PN}-console = " \
+ obmc-console \
+ "
+
SUMMARY_${PN}-extras = "Extra features"
RDEPENDS_${PN}-extras = " \
bmcweb \
@@ -49,6 +56,7 @@
SUMMARY_${PN}-devtools = "Development tools"
RDEPENDS_${PN}-devtools = " \
bash \
+ ffdc \
i2c-tools \
libgpiod-tools \
lrzsz \
@@ -95,6 +103,11 @@
phosphor-rsyslog-config \
"
+SUMMARY_${PN}-rng = "Random Number Generator support"
+RDEPENDS_${PN}-rng = " \
+ rng-tools \
+ "
+
SUMMARY_${PN}-sensors = "Sensor applications"
RDEPENDS_${PN}-sensors = " \
${VIRTUAL-RUNTIME_obmc-sensors-hwmon} \
@@ -142,3 +155,6 @@
${@bb.utils.contains('DISTRO_FEATURES', 'ldap', 'nss-pam-ldapd', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'ldap', 'phosphor-ldap', '', d)} \
"
+RRECOMMENDS_${PN}-user-mgmt = " \
+ pam-plugin-access \
+ "