]> git.proxmox.com Git - ifupdown2.git/commitdiff
d/rules: add dh_installsystemd override for compat >= 12
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 May 2021 08:36:07 +0000 (10:36 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 25 May 2021 08:36:07 +0000 (10:36 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
debian/patches/pve/0012-d-rules-add-dh_installsystemd-override-for-compat-12.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/pve/0012-d-rules-add-dh_installsystemd-override-for-compat-12.patch b/debian/patches/pve/0012-d-rules-add-dh_installsystemd-override-for-compat-12.patch
new file mode 100644 (file)
index 0000000..b3679e1
--- /dev/null
@@ -0,0 +1,24 @@
+From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
+From: Thomas Lamprecht <t.lamprecht@proxmox.com>
+Date: Tue, 25 May 2021 10:34:16 +0200
+Subject: [PATCH] d/rules: add dh_installsystemd override for compat >= 12
+
+Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
+---
+ debian/rules | 4 ++++
+ 1 file changed, 4 insertions(+)
+
+diff --git a/debian/rules b/debian/rules
+index ea6f434..6ab542a 100755
+--- a/debian/rules
++++ b/debian/rules
+@@ -23,5 +23,9 @@ override_dh_systemd_start:
+ override_dh_systemd_enable:
+       dh_systemd_enable --name=networking
++# above are depreacated and won't be used in DH compat level >= 12
++override_dh_installsystemd:
++      dh_installsystemd --name=networking --no-start
++
+ override_dh_compress:
+       dh_compress -X.py
index a5f05094fa35488f3a491a945dd1ab809d0779e9..2cb57a0b550bd411f8ffbceccd207561ac078686 100644 (file)
@@ -9,3 +9,4 @@ pve/0008-openvswitch-ovs-ports-condone-regex-exclude-tap-veth.patch
 pve/0009-allow-vlan-tag-inside-vxlan-tunnel.patch
 pve/0010-postinst-rm-update-network-config-compatibility.patch
 pve/0011-d-rules-drop-now-default-with-systemd.patch
+pve/0012-d-rules-add-dh_installsystemd-override-for-compat-12.patch