From b91458c9bbdd45ca8fc8ea8c086a35fceb524eb6775dfd9b9e5c60fb80482f55 Mon Sep 17 00:00:00 2001 From: nick wang Date: Mon, 28 Sep 2015 02:50:59 +0000 Subject: [PATCH] Accepting request 333548 from home:wanghaisu:branches:network:ha-clustering:Factory BSC#947460, add rcdrbd symlink. OBS-URL: https://build.opensuse.org/request/show/333548 OBS-URL: https://build.opensuse.org/package/show/network:ha-clustering:Factory/drbd?expand=0&rev=19 --- drbd.changes | 5 +++++ drbd.spec | 3 +++ 2 files changed, 8 insertions(+) diff --git a/drbd.changes b/drbd.changes index 723809c..5943743 100644 --- a/drbd.changes +++ b/drbd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Sep 25 04:52:12 UTC 2015 - nwang@suse.com + +- BSC#947460, add rcdrbd symlink. + ------------------------------------------------------------------- Wed Aug 19 08:50:27 UTC 2015 - nwang@suse.com diff --git a/drbd.spec b/drbd.spec index 1729899..51b9197 100644 --- a/drbd.spec +++ b/drbd.spec @@ -94,6 +94,8 @@ for flavor in %{flavors_to_build} ; do #mv obj/$flavor/.kernel.config.gz obj/k-config-$kernelrelease.gz done +mkdir -p %{buildroot}/%{_sbindir} +%{__ln_s} -f %{_sbindir}/service %{buildroot}/%{_sbindir}/rc%{name} rm -f drbd.conf %clean @@ -103,5 +105,6 @@ rm -rf %{buildroot} %defattr(-,root,root) %doc COPYING %doc ChangeLog +%{_sbindir}/rc%{name} %changelog