From f02194b8710291d5156f58d8d74367a6ec3775f9 Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Sat, 20 May 2023 14:58:35 +0200 Subject: [PATCH] fix some outdated python interpreter shebang luckily lintian complained, so fix it for two plugins we add in patches and library module from upstream. Signed-off-by: Thomas Lamprecht --- ...add-dummy-mtu-bridgevlanport-modules.patch | 4 ++-- ...gvgeb-fix-python-interpreter-shebang.patch | 20 +++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 debian/patches/pve/0009-gvgeb-fix-python-interpreter-shebang.patch diff --git a/debian/patches/pve/0002-add-dummy-mtu-bridgevlanport-modules.patch b/debian/patches/pve/0002-add-dummy-mtu-bridgevlanport-modules.patch index 73c047d..cf7c7f0 100644 --- a/debian/patches/pve/0002-add-dummy-mtu-bridgevlanport-modules.patch +++ b/debian/patches/pve/0002-add-dummy-mtu-bridgevlanport-modules.patch @@ -38,7 +38,7 @@ index 0000000..ab6a680 --- /dev/null +++ b/ifupdown2/addons/bridgevlanport.py @@ -0,0 +1,17 @@ -+#!/usr/bin/python ++#!/usr/bin/env python3 +# + +import os @@ -61,7 +61,7 @@ index 0000000..efdf569 --- /dev/null +++ b/ifupdown2/addons/mtu.py @@ -0,0 +1,17 @@ -+#!/usr/bin/python ++#!/usr/bin/env python3 +# + +import os diff --git a/debian/patches/pve/0009-gvgeb-fix-python-interpreter-shebang.patch b/debian/patches/pve/0009-gvgeb-fix-python-interpreter-shebang.patch new file mode 100644 index 0000000..93ca466 --- /dev/null +++ b/debian/patches/pve/0009-gvgeb-fix-python-interpreter-shebang.patch @@ -0,0 +1,20 @@ +From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 +From: Thomas Lamprecht +Date: Sat, 20 May 2023 14:56:42 +0200 +Subject: [PATCH] gvgeb: fix python interpreter shebang + +Signed-off-by: Thomas Lamprecht +--- + ifupdown2/lib/gvgen.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/ifupdown2/lib/gvgen.py b/ifupdown2/lib/gvgen.py +index bb1b00d..97ee33a 100644 +--- a/ifupdown2/lib/gvgen.py ++++ b/ifupdown2/lib/gvgen.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/python ++#!/usr/bin/env python3 + # -*- coding: utf-8 -*- + # $Id$ + """ diff --git a/debian/patches/series b/debian/patches/series index 4cfa797..628fed1 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,4 +6,5 @@ pve/0005-config-tuning.patch pve/0006-openvswitch-ovs-ports-condone-regex-exclude-tap-veth.patch pve/0007-allow-vlan-tag-inside-vxlan-tunnel.patch pve/0008-lacp-bond-remove-bond-min-links-0-warning.patch +pve/0009-gvgeb-fix-python-interpreter-shebang.patch upstream/0001-add-ipv6-slaac-support-inet6-auto-accept_ra.patch