mirror of
https://git.proxmox.com/git/ceph.git
synced 2025-04-28 16:34:15 +00:00
add patch for dh_systemd_enable
This commit is contained in:
parent
45453cee96
commit
810574b08e
@ -1,7 +1,7 @@
|
|||||||
From 41a07622e9a2cef8225cef36c04861d6de869e42 Mon Sep 17 00:00:00 2001
|
From 41a07622e9a2cef8225cef36c04861d6de869e42 Mon Sep 17 00:00:00 2001
|
||||||
From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
|
From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
|
||||||
Date: Mon, 20 Mar 2017 09:12:50 +0100
|
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
|
MIME-Version: 1.0
|
||||||
Content-Type: text/plain; charset=UTF-8
|
Content-Type: text/plain; charset=UTF-8
|
||||||
Content-Transfer-Encoding: 8bit
|
Content-Transfer-Encoding: 8bit
|
||||||
|
@ -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>
|
From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
|
||||||
Date: Mon, 20 Mar 2017 09:16:06 +0100
|
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
|
MIME-Version: 1.0
|
||||||
Content-Type: text/plain; charset=UTF-8
|
Content-Type: text/plain; charset=UTF-8
|
||||||
Content-Transfer-Encoding: 8bit
|
Content-Transfer-Encoding: 8bit
|
||||||
|
@ -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>
|
From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= <f.gruenbichler@proxmox.com>
|
||||||
Date: Tue, 21 Mar 2017 07:47:08 +0100
|
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
|
MIME-Version: 1.0
|
||||||
Content-Type: text/plain; charset=UTF-8
|
Content-Type: text/plain; charset=UTF-8
|
||||||
Content-Transfer-Encoding: 8bit
|
Content-Transfer-Encoding: 8bit
|
||||||
|
30
patches/0004-enable-systemd-targets-by-default.patch
Normal file
30
patches/0004-enable-systemd-targets-by-default.patch
Normal 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
|
||||||
|
|
@ -1,3 +1,4 @@
|
|||||||
0001-update-changelog.patch
|
0001-update-changelog.patch
|
||||||
0002-build-with-system-boost.patch
|
0002-build-with-system-boost.patch
|
||||||
0003-ceph-detect-init-support-Debian-Stretch.patch
|
0003-ceph-detect-init-support-Debian-Stretch.patch
|
||||||
|
0004-enable-systemd-targets-by-default.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user