Move remote logging features to their own category
Separate logging from the remote logging features so that users
can choose to pick/not-pick one or the other.
Change-Id: I98e91662e9e512e1e0c1f5a1926d6f2129145570
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
diff --git a/classes/obmc-phosphor-image.bbclass b/classes/obmc-phosphor-image.bbclass
index 7260b0e..5757673 100644
--- a/classes/obmc-phosphor-image.bbclass
+++ b/classes/obmc-phosphor-image.bbclass
@@ -14,6 +14,7 @@
# - obmc-inventory - OpenBMC inventory support
# - obmc-leds - OpenBMC LED support
# - obmc-logging-mgmt - OpenBMC logging management
+# - obmc-remote-logging-mgmt - OpenBMC remote logging management
# - obmc-sensors - OpenBMC sensor support
# - obmc-settings-mgmt - OpenBMC settings management
# - obmc-software - OpenBMC software management
@@ -38,6 +39,7 @@
FEATURE_PACKAGES_obmc-inventory ?= "packagegroup-obmc-apps-inventory"
FEATURE_PACKAGES_obmc-leds ?= "packagegroup-obmc-apps-leds"
FEATURE_PACKAGES_obmc-logging-mgmt ?= "${@df_enabled(d, 'obmc-logging-mgmt', 'packagegroup-obmc-apps-logging')}"
+FEATURE_PACKAGES_obmc-remote-logging-mgmt ?= "packagegroup-obmc-apps-remote-logging"
FEATURE_PACKAGES_obmc-net-ipmi ?= "phosphor-ipmi-net"
FEATURE_PACKAGES_obmc-sensors ?= "packagegroup-obmc-apps-sensors"
FEATURE_PACKAGES_obmc-software ?= "packagegroup-obmc-apps-software"
@@ -66,6 +68,7 @@
obmc-inventory \
obmc-leds \
obmc-logging-mgmt \
+ obmc-remote-logging-mgmt \
obmc-net-ipmi \
obmc-sensors \
obmc-software \
diff --git a/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb b/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
index 387c479..d6537f5 100644
--- a/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
+++ b/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bb
@@ -15,6 +15,7 @@
${PN}-inventory \
${PN}-leds \
${PN}-logging \
+ ${PN}-remote-logging \
${PN}-sensors \
${PN}-software \
${PN}-host-check-mgmt \
@@ -83,6 +84,10 @@
SUMMARY_${PN}-logging = "Logging applications"
RDEPENDS_${PN}-logging = " \
phosphor-logging \
+ "
+
+SUMMARY_${PN}-remote-logging = "Remote logging applications"
+RDEPENDS_${PN}-remote-logging = " \
rsyslog \
rsyslog-policy \
phosphor-rsyslog-config \