[PATCH openbmc v7 08/11] Fix systemd packageconfig

OpenBMC Patches openbmc-patches at stwcx.xyz
Sat Jun 25 06:00:48 AEST 2016


From: Brad Bishop <bradleyb at fuzziesquirrel.com>

PACKAGECONFIG is typically set with '??=' in the base recipe.  In our
systemd append it was being set with += which overrides the weak
default (??=) so none of the default configure options were used.  This
patch corrects that and then removes all the default options we don't
need.

Signed-off-by: Brad Bishop <bradleyb at fuzziesquirrel.com>
---
 meta-phosphor/common/recipes-core/systemd/systemd_%.bbappend | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-phosphor/common/recipes-core/systemd/systemd_%.bbappend b/meta-phosphor/common/recipes-core/systemd/systemd_%.bbappend
index 8b3b25d..9ad6a40 100644
--- a/meta-phosphor/common/recipes-core/systemd/systemd_%.bbappend
+++ b/meta-phosphor/common/recipes-core/systemd/systemd_%.bbappend
@@ -1,4 +1,5 @@
-PACKAGECONFIG += "networkd"
+PACKAGECONFIG_append = " networkd"
+PACKAGECONFIG_remove = "machined hibernate ldconfig binfmt backlight quotacheck localed kdbus ima smack polkit"
 FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
 SRC_URI += "file://default.network"
 
-- 
2.9.0




More information about the openbmc mailing list