From d1c555f69ac9288c5197741387c618901ef973525312e5941219c56575d6eac4 Mon Sep 17 00:00:00 2001 From: Bin Liu Date: Tue, 29 Aug 2017 08:00:14 +0000 Subject: [PATCH] Accepting request 519278 from home:BinLiu:branches:network:ha-clustering:Factory - corosync.service should be marked as a static service(bsc#1055585) Added: 0012-mark-corosync-as-a-static-service.patch OBS-URL: https://build.opensuse.org/request/show/519278 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/corosync?expand=0&rev=105 --- 0012-mark-corosync-as-a-static-service.patch | 8 ++++++++ corosync.changes | 6 ++++++ corosync.spec | 2 ++ 3 files changed, 16 insertions(+) create mode 100644 0012-mark-corosync-as-a-static-service.patch diff --git a/0012-mark-corosync-as-a-static-service.patch b/0012-mark-corosync-as-a-static-service.patch new file mode 100644 index 0000000..842fc9e --- /dev/null +++ b/0012-mark-corosync-as-a-static-service.patch @@ -0,0 +1,8 @@ +--- corosync-2.4.2.orig/init/corosync.service.in 2017-08-29 15:47:18.131052520 +0800 ++++ corosync-2.4.2/init/corosync.service.in 2017-08-29 15:46:24.949842298 +0800 +@@ -23,4 +23,4 @@ + #ExecStartPre=/sbin/modprobe softdog soft_margin=60 + + [Install] +-WantedBy=multi-user.target ++#WantedBy=multi-user.target diff --git a/corosync.changes b/corosync.changes index 7d7ff02..1931b55 100644 --- a/corosync.changes +++ b/corosync.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Aug 29 07:50:16 UTC 2017 - bliu@suse.com + +- corosync.service should be marked as a static service(bsc#1055585) + Added: 0012-mark-corosync-as-a-static-service.patch + ------------------------------------------------------------------- Tue Aug 8 08:17:27 UTC 2017 - jengelh@inai.de diff --git a/corosync.spec b/corosync.spec index dadd659..f63b231 100644 --- a/corosync.spec +++ b/corosync.spec @@ -75,6 +75,7 @@ Patch18: 0008-main.c-add-option-to-set-priority.patch Patch19: 0009-totem-Propagate-totem-initialization-failure.patch Patch20: 0010-fix-ifdown-udp.patch Patch21: 0011-fix-tmpfiles-create.patch +Patch22: 0012-mark-corosync-as-a-static-service.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build # openais is indeed gone and should be uninstalled. Yes, we do not @@ -154,6 +155,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build %patch19 -p1 %patch20 -p1 %patch21 -p1 +%patch22 -p1 %build %if %{with runautogen}