software: remove ${PN} pkg
By default OE adds ${PN} as a runtime dependency to ${PN}-[static]dev.
Remove ${PN} since it will never have any content. Additionally,
override the default ${PN}-[static]dev dependencies with the
correct pkgs.
Change-Id: Ibdcc16961b8d4774388ded94fca8fdaff31df4d7
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
diff --git a/common/recipes-phosphor/flash/phosphor-software-manager.bb b/common/recipes-phosphor/flash/phosphor-software-manager.bb
index f1d0756..f09f4df 100644
--- a/common/recipes-phosphor/flash/phosphor-software-manager.bb
+++ b/common/recipes-phosphor/flash/phosphor-software-manager.bb
@@ -11,6 +11,10 @@
${PN}-version \
"
PACKAGE_BEFORE_PN = "${PN}-version"
+PACKAGES_remove = "${PN}"
+RDEPENDS_${PN}-dev = "${SOFTWARE_MGR_PACKAGES}"
+RDEPENDS_${PN}-staticdev = "${SOFTWARE_MGR_PACKAGES}"
+
DBUS_PACKAGES = "${SOFTWARE_MGR_PACKAGES}"
# Set SYSTEMD_PACKAGES to empty because we do not want ${PN} and DBUS_PACKAGES