meta-phosphor: phosphor-debug-collector: handle obmc-static-norootfs DISTRO_FEATURE
Ensure the jffs-workaround isn't applied to obmc-static-norootfs images
since they use UBI.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I75f210a8e82647e71d760d35f49b098fb180084e
diff --git a/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector_git.bb b/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector_git.bb
index b47c750..04f2182 100644
--- a/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector_git.bb
+++ b/meta-phosphor/recipes-phosphor/dump/phosphor-debug-collector_git.bb
@@ -17,7 +17,7 @@
fmt \
"
PACKAGECONFIG ??= "${@bb.utils.contains_any('DISTRO_FEATURES', \
- 'obmc-ubi-fs phosphor-mmc', '', 'jffs-workaround', d)}"
+ 'obmc-ubi-fs phosphor-mmc obmc-static-norootfs', '', 'jffs-workaround', d)}"
PACKAGECONFIG[jffs-workaround] = "-Djffs-workaround=enabled, \
-Djffs-workaround=disabled"
PACKAGECONFIG[host-dump-transport-pldm] = " \