From da230d58205e33e6bfad6c8093a54114699b6ba0 Mon Sep 17 00:00:00 2001
From: Martin Pitt <martin@piware.de>
Date: Thu, 18 Oct 2018 12:06:12 +0200
Subject: [PATCH] debian-backport-cockpit: Fix for stretch, disable jessie

Stretch doesn't have pcp, so we need to call adjust-for-release to
disable the build deps.

jessie is EOL now.
---
 debian-backport-cockpit | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/debian-backport-cockpit b/debian-backport-cockpit
index 4dd0fa3..b2db950 100755
--- a/debian-backport-cockpit
+++ b/debian-backport-cockpit
@@ -26,14 +26,15 @@ cd cockpit-*
 
 # stretch
 series_ver stretch-backports
+debian/adjust-for-release stretch
 dch --local ~bpo9+ --distribution stretch-backports --force-distribution "No-change backport to Debian Stretch"
 debuild -S -sd -nc -v$ver
 upload
 
 # jessie
-dpkg-source -x *.dsc
-cd cockpit-*
-series_ver jessie-backports-sloppy
-dch --local ~bpo8+ --distribution jessie-backports-sloppy --force-distribution "No-change backport to Debian Jessie"
-debuild -S -sd -nc -v$ver
-echo "build this in a jessie schroot and upload"
+#dpkg-source -x *.dsc
+#cd cockpit-*
+#series_ver jessie-backports-sloppy
+#dch --local ~bpo8+ --distribution jessie-backports-sloppy --force-distribution "No-change backport to Debian Jessie"
+#debuild -S -sd -nc -v$ver
+#echo "build this in a jessie schroot and upload"
-- 
2.39.5