From 8996c7367147335eef04896f8974c1200467393b Mon Sep 17 00:00:00 2001 From: Brad Bishop Date: Wed, 11 Apr 2018 11:42:17 -0400 Subject: 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 --- .../common/recipes-phosphor/flash/phosphor-software-manager.bb | 6 ++---- 1 file 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}" -- cgit v1.2.1