[oe] [meta-oe][PATCH 1/1] phoronix-test-suite: disable systemd services by default
Joe Slater
joe.slater at windriver.com
Tue May 1 23:15:03 UTC 2018
Unfortunately, the default behavior for at least the client service is to
reboot the machine if it encounters problems. Since it is pretty
much guaranteed to need target specific configuration info, we
should not enable the service(s) by default.
Signed-off-by: Joe Slater <joe.slater at windriver.com>
---
.../phoronix-test-suite/phoronix-test-suite_7.8.0.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_7.8.0.bb b/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_7.8.0.bb
index b205821..1f90a71 100644
--- a/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_7.8.0.bb
+++ b/meta-oe/recipes-benchmark/phoronix-test-suite/phoronix-test-suite_7.8.0.bb
@@ -23,7 +23,12 @@ do_install() {
fi
}
+# It is not advisable to enable these services by default since they can cause
+# continual target reboots if they encounter network problems.
+#
+SYSTEMD_AUTO_ENABLE = "disable"
SYSTEMD_SERVICE_${PN} = "phoromatic-client.service phoromatic-server.service"
+
RDEPENDS_${PN} += "bash python php-cli"
FILES_${PN} += " \
--
2.7.4
More information about the Openembedded-devel
mailing list