[Pkg-ceph-commits] [ceph] 05/16: use symlinks to simplify installation of init.d and logrotate scripts

Dmitry Smirnov onlyjob at moszumanska.debian.org
Tue Mar 25 02:13:53 UTC 2014


This is an automated email from the git hooks/post-receive script.

onlyjob pushed a commit to branch experimental
in repository ceph.

commit ea1662f
Author: Dmitry Smirnov <onlyjob at member.fsf.org>
Date:   Mon Mar 24 06:39:38 2014

    use symlinks to simplify installation of init.d and logrotate scripts
---
 debian/ceph.init         | 1 +
 debian/ceph.logrotate    | 1 +
 debian/ceph.rbdmap.init  | 1 +
 debian/radosgw.init      | 1 +
 debian/radosgw.logrotate | 1 +
 debian/rules             | 6 ------
 6 files changed, 5 insertions(+), 6 deletions(-)

diff --git a/debian/ceph.init b/debian/ceph.init
new file mode 120000
index 0000000..b538109
--- /dev/null
+++ b/debian/ceph.init
@@ -0,0 +1 @@
+../src/init-ceph
\ No newline at end of file
diff --git a/debian/ceph.logrotate b/debian/ceph.logrotate
new file mode 120000
index 0000000..df20846
--- /dev/null
+++ b/debian/ceph.logrotate
@@ -0,0 +1 @@
+../src/logrotate.conf
\ No newline at end of file
diff --git a/debian/ceph.rbdmap.init b/debian/ceph.rbdmap.init
new file mode 120000
index 0000000..b2de0ce
--- /dev/null
+++ b/debian/ceph.rbdmap.init
@@ -0,0 +1 @@
+../src/init-rbdmap
\ No newline at end of file
diff --git a/debian/radosgw.init b/debian/radosgw.init
new file mode 120000
index 0000000..0bd5f06
--- /dev/null
+++ b/debian/radosgw.init
@@ -0,0 +1 @@
+../src/init-radosgw
\ No newline at end of file
diff --git a/debian/radosgw.logrotate b/debian/radosgw.logrotate
new file mode 120000
index 0000000..6790479
--- /dev/null
+++ b/debian/radosgw.logrotate
@@ -0,0 +1 @@
+../src/rgw/logrotate.conf
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index ef63946..884398d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -40,16 +40,10 @@ override_dh_auto_configure:
 
 override_dh_auto_build:
 	dh_auto_build
-	cp src/init-ceph debian/ceph.init
-	cp src/init-radosgw debian/radosgw.init
-	cp src/init-rbdmap debian/ceph.rbdmap.init
 	cp src/upstart/rbdmap.conf debian/ceph.rbdmap.upstart
-	cp src/logrotate.conf debian/ceph.logrotate
-	cp src/rgw/logrotate.conf debian/radosgw.logrotate
 
 override_dh_auto_clean:
 	dh_auto_clean
-	rm -f debian/ceph.init debian/radosgw.init debian/ceph.rbdmap.init debian/ceph.rbdmap.upstart
 	rm -f debian/ceph.logrotate debian/radosgw.logrotate
 	rm -f debian/*.upstart
 

-- 
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-ceph/ceph.git



More information about the Pkg-ceph-commits mailing list