File 0001-Test-cts-use-bash-in-the-DummySD.service-file.patch of Package pacemaker.16959

From 858b9437537715b92ec8657fc77bb998b19de69f Mon Sep 17 00:00:00 2001
From: Aleksei Burlakov <aleksei.burlakov@suse.com>
Date: Tue, 4 Dec 2018 14:21:46 +0100
Subject: [PATCH] Test: cts: use bash in the DummySD.service file

systemd.daemon requires the systemd python library, that might be third
party.
---
 cts/CIB.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cts/CIB.py b/cts/CIB.py
index 131ffeb724..be978f81c0 100644
--- a/cts/CIB.py
+++ b/cts/CIB.py
@@ -417,7 +417,7 @@ def add_resources(self):
 
 [Service]
 Type=notify
-ExecStart=/usr/bin/python -c 'import time, systemd.daemon; time.sleep(10); systemd.daemon.notify("READY=1"); time.sleep(86400)'
+ExecStart=/bin/sh -c 'sleep 10; systemd-notify READY=1; sleep 86400'
 ExecStop=/bin/sh -c 'sleep 10; [ -n "\$MAINPID" ] && kill -s KILL \$MAINPID'
 """
 
openSUSE Build Service is sponsored by