From b19cc69238cc3a741bc80b3163ee3ad36d75554e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Tue, 21 Mar 2017 07:50:52 +0100 Subject: [PATCH] add patch for ceph-detect-init --- patches/0001-update-changelog.patch | 4 +-- patches/0002-build-with-system-boost.patch | 4 +-- ...h-detect-init-support-Debian-Stretch.patch | 28 +++++++++++++++++++ patches/series | 1 + 4 files changed, 33 insertions(+), 4 deletions(-) create mode 100644 patches/0003-ceph-detect-init-support-Debian-Stretch.patch diff --git a/patches/0001-update-changelog.patch b/patches/0001-update-changelog.patch index 64a30bd38..f05f5b803 100644 --- a/patches/0001-update-changelog.patch +++ b/patches/0001-update-changelog.patch @@ -1,7 +1,7 @@ -From eaa617f8559ac5b373e74231471ce56c41f2ccd3 Mon Sep 17 00:00:00 2001 +From 784c9a88188a2ac328382f4aed798b7dedeab436 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Mon, 20 Mar 2017 09:12:50 +0100 -Subject: [PATCH 1/2] update changelog +Subject: [PATCH 1/3] update changelog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/patches/0002-build-with-system-boost.patch b/patches/0002-build-with-system-boost.patch index 69b9f1ace..2d26b1324 100644 --- a/patches/0002-build-with-system-boost.patch +++ b/patches/0002-build-with-system-boost.patch @@ -1,7 +1,7 @@ -From 504f6eeca120650da018d7584737298f55dcbc9b Mon Sep 17 00:00:00 2001 +From c99775b461be35901e508e28c53613f37d3f6e99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= Date: Mon, 20 Mar 2017 09:16:06 +0100 -Subject: [PATCH 2/2] build with system boost +Subject: [PATCH 2/3] build with system boost MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit diff --git a/patches/0003-ceph-detect-init-support-Debian-Stretch.patch b/patches/0003-ceph-detect-init-support-Debian-Stretch.patch new file mode 100644 index 000000000..780575181 --- /dev/null +++ b/patches/0003-ceph-detect-init-support-Debian-Stretch.patch @@ -0,0 +1,28 @@ +From 196f4ea77ed186fdf37a3aea97a22296f8f8e42d Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= +Date: Tue, 21 Mar 2017 07:47:08 +0100 +Subject: [PATCH 3/3] ceph-detect-init: support Debian Stretch +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Fabian Grünbichler +--- + src/ceph-detect-init/ceph_detect_init/__init__.py | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/ceph-detect-init/ceph_detect_init/__init__.py b/src/ceph-detect-init/ceph_detect_init/__init__.py +index b431616..d03d8db 100644 +--- a/src/ceph-detect-init/ceph_detect_init/__init__.py ++++ b/src/ceph-detect-init/ceph_detect_init/__init__.py +@@ -113,6 +113,7 @@ def platform_information(): + # this could be an empty string in Debian + if not codename and 'debian' in distro.lower(): + debian_codenames = { ++ '9': 'stretch', + '8': 'jessie', + '7': 'wheezy', + '6': 'squeeze', +-- +2.1.4 + diff --git a/patches/series b/patches/series index e731bbf97..7c8bf40c0 100644 --- a/patches/series +++ b/patches/series @@ -1,2 +1,3 @@ 0001-update-changelog.patch 0002-build-with-system-boost.patch +0003-ceph-detect-init-support-Debian-Stretch.patch