summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/common/recipes-phosphor
diff options
context:
space:
mode:
authorBrad Bishop <bradleyb@fuzziesquirrel.com>2018-04-11 11:42:17 -0400
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2018-05-30 00:22:34 +0000
commit8996c7367147335eef04896f8974c1200467393b (patch)
tree39ad747be2b104a63d8eb7c78db2f0d027b00d83 /meta-phosphor/common/recipes-phosphor
parentd595e594cf7ccb372a3ddad002695ec3ee7a9c15 (diff)
downloadtalos-openbmc-8996c7367147335eef04896f8974c1200467393b.tar.gz
talos-openbmc-8996c7367147335eef04896f8974c1200467393b.zip
software-manager: Favor ALLOW_EMPTY
A number of recipes remove PN from the package list. While this seems to work it is unconventional and puts us into dusty corners of oe-core/bitbake. Adopt a more conventional approach with ALLOW_EMPTY_${PN} = "1". Change-Id: If19c9cf985878dc42f17a85f6762bbe20ffe5ee1 Tested: Built phosphor-software-manager and validated package contents Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-phosphor/common/recipes-phosphor')
-rw-r--r--meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb6
1 files changed, 2 insertions, 4 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb
index 3cd075608..bbbb86668 100644
--- a/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb
+++ b/meta-phosphor/common/recipes-phosphor/flash/phosphor-software-manager.bb
@@ -13,10 +13,8 @@ SOFTWARE_MGR_PACKAGES = " \
${PN}-updater \
${PN}-sync \
"
-PACKAGES =+ "${SOFTWARE_MGR_PACKAGES}"
-PACKAGES_remove = "${PN}"
-RDEPENDS_${PN}-dev = "${SOFTWARE_MGR_PACKAGES}"
-RDEPENDS_${PN}-staticdev = "${SOFTWARE_MGR_PACKAGES}"
+PACKAGE_BEFORE_PN += "${SOFTWARE_MGR_PACKAGES}"
+ALLOW_EMPTY_${PN} = "1"
DBUS_PACKAGES = "${SOFTWARE_MGR_PACKAGES}"
OpenPOWER on IntegriCloud