]> git.proxmox.com Git - ceph.git/commitdiff
add patch for dh_systemd_enable
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 22 Mar 2017 08:04:13 +0000 (09:04 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Thu, 23 Mar 2017 08:49:59 +0000 (09:49 +0100)
patches/0001-update-changelog.patch
patches/0002-build-with-system-boost.patch
patches/0003-ceph-detect-init-support-Debian-Stretch.patch
patches/0004-enable-systemd-targets-by-default.patch [new file with mode: 0644]
patches/series

index f23349a07788448a3beb7caf2080174d79c8a539..c7d2ac09cad015b046d4997a868d88dca7e992a2 100644 (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
index 2d26b132405e3b4f4959ffa418ac90530a0257ca..aab01cf6ea3750d0a5ee1bc70471dc39590d8f17 100644 (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
index 7805751815e441a9d85ed69018fea3534a8a03ae..2b221ca084d345af1e13e30e096c2df44de503c6 100644 (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
diff --git a/patches/0004-enable-systemd-targets-by-default.patch b/patches/0004-enable-systemd-targets-by-default.patch
new file mode 100644 (file)
index 0000000..51e892f
--- /dev/null
@@ -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
+
index 7c8bf40c0191522a4d7280644c1a6129bd8d5261..3bd0619a1a74e3ba67303f2c4c6ba53478463d03 100644 (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