summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Williams <patrick@stwcx.xyz>2016-08-15 15:52:09 -0500
committerPatrick Williams <patrick@stwcx.xyz>2016-08-15 16:07:12 -0500
commit34f3773f9b0d67ab0fd94aa1f07b9dcad35a1906 (patch)
tree62cd276b70b51289105360c78fbea187f3cc02b3
parent75076ecede4f0006b230099852eb4d3ffcc24c75 (diff)
downloadtalos-openbmc-34f3773f9b0d67ab0fd94aa1f07b9dcad35a1906.tar.gz
talos-openbmc-34f3773f9b0d67ab0fd94aa1f07b9dcad35a1906.zip
phosphor-user: Fix race-condition in build
phosphor-user was attempting to compile, even though it only needs a python script out of a repository. The compile depends on libsystemd but systemd was not a DEPENDS. Short-circuit by setting do_compile to be empty. Fixes openbmc/openbmc#511. Change-Id: Idf4da676d8905a2900a7ecf40f120da431dd4300 Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
-rw-r--r--meta-phosphor/common/recipes-phosphor/obmc-phosphor-user/obmc-phosphor-user.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-user/obmc-phosphor-user.bb b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-user/obmc-phosphor-user.bb
index 48776732a..33a9ca081 100644
--- a/meta-phosphor/common/recipes-phosphor/obmc-phosphor-user/obmc-phosphor-user.bb
+++ b/meta-phosphor/common/recipes-phosphor/obmc-phosphor-user/obmc-phosphor-user.bb
@@ -16,6 +16,13 @@ SRCREV = "75757c08579200677391f5319aee68cafcae0bf1"
S = "${WORKDIR}/git"
INSTALL_NAME = "userman.py"
+# Since base_do_compile finds a makefile (from networkd) it tries to
+# compile. Short-circuit that because we just need to copy a python
+# file in this package.
+do_compile() {
+ :
+}
+
do_install() {
echo "***installing $INSTALL_NAME"
install -d ${D}/${sbindir}
OpenPOWER on IntegriCloud