add patch for dh_systemd_enable

This commit is contained in:
Fabian Grünbichler 2017-03-22 09:04:13 +01:00
parent 45453cee96
commit 810574b08e
5 changed files with 36 additions and 5 deletions

View File

@ -1,7 +1,7 @@
From 41a07622e9a2cef8225cef36c04861d6de869e42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
Date: Mon, 20 Mar 2017 09:12:50 +0100
Subject: [PATCH 1/3] update changelog
Subject: [PATCH 1/4] update changelog
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

View File

@ -1,7 +1,7 @@
From c99775b461be35901e508e28c53613f37d3f6e99 Mon Sep 17 00:00:00 2001
From 97f2e218d7978619617563afe313d5db717b63fd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
Date: Mon, 20 Mar 2017 09:16:06 +0100
Subject: [PATCH 2/3] build with system boost
Subject: [PATCH 2/4] build with system boost
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

View File

@ -1,7 +1,7 @@
From 196f4ea77ed186fdf37a3aea97a22296f8f8e42d Mon Sep 17 00:00:00 2001
From 0b89f3a4f811281c7fbc76cdfc86c0e66cb65b90 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
Date: Tue, 21 Mar 2017 07:47:08 +0100
Subject: [PATCH 3/3] ceph-detect-init: support Debian Stretch
Subject: [PATCH 3/4] ceph-detect-init: support Debian Stretch
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

View File

@ -0,0 +1,30 @@
From acc4326c324d2ee47e297ee8f28fadfa224557d5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
Date: Wed, 22 Mar 2017 09:00:34 +0100
Subject: [PATCH 4/5] enable systemd targets by default
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
---
debian/rules | 3 +++
1 file changed, 3 insertions(+)
diff --git a/debian/rules b/debian/rules
index 61efec4..93158d2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -120,6 +120,9 @@ override_dh_installinit:
dh_installinit -p ceph-base --name ceph --no-start
dh_installinit -p radosgw --no-start
+ dh_systemd_enable -p ceph-common ceph.target
+ dh_systemd_enable -p ceph-mon ceph-mon.target
+ dh_systemd_enable -p ceph-osd ceph-osd.target
override_dh_systemd_start:
dh_systemd_start --no-restart-on-upgrade
--
2.1.4

View File

@ -1,3 +1,4 @@
0001-update-changelog.patch
0002-build-with-system-boost.patch
0003-ceph-detect-init-support-Debian-Stretch.patch
0004-enable-systemd-targets-by-default.patch