[yocto] [meta-cgl][PATCH] pacemaker: set CLEANBROKEN to fix rebuild
Yi Zhao
yi.zhao at windriver.com
Thu Jan 4 22:44:09 PST 2018
Rebuilding pacemaker would cause the following error:
| NOTE: make clean
| make: *** No rule to make target 'clean'. Stop.
| ERROR: oe_runmake failed
Fix this problem by setting CLEANBROKEN to "1".
Signed-off-by: Yi Zhao <yi.zhao at windriver.com>
---
meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb b/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb
index 37c3b53..c2bc787 100755
--- a/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb
+++ b/meta-cgl-common/recipes-cgl/pacemaker/pacemaker_1.1.16.bb
@@ -31,6 +31,8 @@ inherit autotools-brokensep pkgconfig systemd python-dir useradd
S="${WORKDIR}/pacemaker-Pacemaker-${PV}"
+CLEANBROKEN = "1"
+
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
PACKAGECONFIG[libesmtp] = "--with-esmtp=yes,--with-esmtp=no,libesmtp"
--
2.7.4
More information about the yocto
mailing list