]> git.proxmox.com Git - ifupdown2.git/blob - debian/patches/pve/0012-d-rules-add-dh_installsystemd-override-for-compat-12.patch
b3679e12010725abf8f87829bd26ae32c94c3373
[ifupdown2.git] / debian / patches / pve / 0012-d-rules-add-dh_installsystemd-override-for-compat-12.patch
1 From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
2 From: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 Date: Tue, 25 May 2021 10:34:16 +0200
4 Subject: [PATCH] d/rules: add dh_installsystemd override for compat >= 12
5
6 Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
7 ---
8 debian/rules | 4 ++++
9 1 file changed, 4 insertions(+)
10
11 diff --git a/debian/rules b/debian/rules
12 index ea6f434..6ab542a 100755
13 --- a/debian/rules
14 +++ b/debian/rules
15 @@ -23,5 +23,9 @@ override_dh_systemd_start:
16 override_dh_systemd_enable:
17 dh_systemd_enable --name=networking
18
19 +# above are depreacated and won't be used in DH compat level >= 12
20 +override_dh_installsystemd:
21 + dh_installsystemd --name=networking --no-start
22 +
23 override_dh_compress:
24 dh_compress -X.py